alexa-ability-express-handler
Advanced tools
Comparing version 0.1.2 to 0.2.0
{ | ||
"name": "alexa-ability-express-handler", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -28,3 +28,6 @@ "main": "lib/index.js", | ||
"babel-preset-stage-1": "^6.3.13" | ||
}, | ||
"peerDependencies": { | ||
"alexa-ability": "^0.3.4" | ||
} | ||
} |
@@ -8,8 +8,9 @@ # alexa-ability-express-handler | ||
import bodyParser from 'body-parser'; | ||
import { Ability, intent } from 'alexa-ability'; | ||
import { Ability, events } from 'alexa-ability'; | ||
import handle from 'alexa-ability-lambda-handler'; | ||
const ability = new Ability(); | ||
ability.on(intent.LAUNCH, function(req) { | ||
req.say("Testing testing one two three.").send(); | ||
ability.on(events.LAUNCH, function(req) { | ||
req.say("Testing testing one two three.").end(); | ||
}); | ||
@@ -22,4 +23,4 @@ | ||
app.listen(8000, function() { | ||
console.log('listening'); | ||
}); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3279
25
2