alexa-annotations
Easily create Alexa Skills to run on AWS Lambda using ES6 classes and ES7 decorators.
Try it in the online playground or create your own Alexa skill with the Yeoman generator.
Custom Skill Example
;;; @Skill @Launch { return ; } @ { return ; } @ { return ; } @ { return ; } @ { const url = 'https://raw.githubusercontent.com/cameronhunter/alexa-annotations/master/package.json'; return ; }
Smart Home Skill Example
;; @Skill @Discovery { return ; } @TurnOn { return ; } @TurnOff { return ; }
Custom Annotations
You can also create your own custom annotations:
; const PlaybackStarted = ; const AudioPlayerEvent = ; @Skill @PlaybackStarted { // Do something with token and event } @AudioPlayerEvent { }