【文件属性】:
文件名称:expressive:在Amazon Lambda上运行的Alexa Skill Kit应用程序的简约框架
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-15 08:23:12
JavaScript
富有表现力的
受语法启发,用于在 (或作为Web服务)上运行的应用程序的简约框架。
用法
var expressive = require ( 'echo-expressive' ) ;
var app = expressive ( MY_APP_ID ) ; // app id is optional, but filters requests
// install a middleware, they way you'd expect
app . use ( function ( req , res , next ) {
// read session attributes with the key
if ( req . attr ( 'user' ) ) {
// it's already set, move along
next
【文件预览】:
expressive-master
----README.md(2KB)
----test()
--------routing.js(3KB)
--------launch.json(338B)
--------end.json(369B)
--------testing-util.js(2KB)
--------NoSlotIntent.json(385B)
--------web-service.js(1KB)
--------err.json(585B)
--------FooIntent.json(589B)
----package.json(677B)
----index.js(10KB)
----.travis.yml(60B)