New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ask-constants

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ask-constants

Exports important Alexa Skills Kit strings.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

ASK Constants contains a number of strings exported as constants to help reduce spelling mistakes in projects built with the amazing Alexa Skills Kit SDK for Node.js.

Disclaimer

This package is in no way affiliated with or endorsed by Amazon or the Alexa team.

Installation

Install ask-constants as a dependency:

$ npm i ask-constants

Usage

My most common use case is combining built-in intents with custom intents.

// constants.ts
import * as constants from "ask-constants";

export const INTENTS = {
  ...constants.intents,

  custom: {
    DO_SOMETHING_COOL: "DoSomethingCool",
  },
};

// intent-handlers.ts
import { INTENTS } from "./constants";

export const IntentHandler = {
  [INTENTS.AMAZON.HELP]: () => response, // some ask handler
};

Feedback

These constants were adapated to my workflow and common use-cases. If you have ideas on how to improve or expand them, please start a discussion via Github issues. Cheers.

Keywords

FAQs

Package last updated on 04 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc