Package detail

ask-sdk-runtime

alexa24kApache-2.02.14.0

Base runtime package for Alexa Skills Kit SDK

Alexa, SDK

readme

ASK SDK Runtime package contains generic components and implementations of ASK SDK v2 for Node.js.

What is ASK SDK v2 for Node.js

The ASK SDK v2 for Node.js is an open-source Alexa Skill Development Kit. ASK SDK v2 for Node.js makes it easier for you to build highly engaging skills, by allowing you to spend more time on implementing features and less on writing boiler-plate code.

Installing

To use the ASK SDK Runtime pacakge, simply run the following command in terminal:

npm install --save ask-sdk-runtime

Usage and Getting Started

You can find a getting started guide here.

Usage with TypeScript

The SDK runtime package for Node.js bundles TypeScript definition files for use in TypeScript projects and to support tools that can read .d.ts files. Our goal is to keep these TypeScript definition files updated with each release for any public api.

Pre-requisites

Before you can begin using these TypeScript definitions with your project, you need to make sure your project meets a few of these requirements:

  • Use TypeScript v2.x
  • Includes the TypeScript definitions for node. You can use npm to install this by typing the following into a terminal window:
npm install --save-dev @types/node

In Node.js

To use the TypeScript definition files within a Node.js project, simply import ask-sdk-core as below:

In a TypeScript file:

import * as Runtime from 'ask-sdk-runtime';

In a JavaScript file:

const Runtime = require('ask-sdk-runtime');

Opening Issues

For bug reports, feature requests and questions, we would like to hear about it. Search the existing issues and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of the SDK, Node.js or browser environment and OS you’re using. Please include a stack trace and reduced repro case when appropriate, too.

License

This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.14.0 (2023-04-03)

Bug Fixes

  • version: typescript dependency (c2756d9)

2.13.0 (2023-04-03)

Bug Fixes

  • version: typescript dependency (c2756d9)

2.12.0 (2022-01-28)

Bug Fixes

  • updated node minimum versions for Github Actions and @types/node to fix test failures (7636f36)

2.10.2 (2021-03-16)

Bug Fixes

2.10.1 (2020-10-09)

Bug Fixes

  • remove the clear function in UserAgentManager

2.10.0 (2020-10-08)

Bug Fixes

  • Addded new line at end of tsconfig.json files (d94a1c6)
  • fix the github action workflow and compilation making relative require fail issue (#658) (895c88e)
  • update rootDir to point to the right root dir in tsconfig file in tst (66ca284)
  • Updated all packages .npmignore files (de76a18)
  • Updated all packages package.json (#656) (c27c3e6)

Features

  • add UserAgentManager (bc03b55)
  • eslint migration and fixes, git workflows and updates on package.json for ask-sdk-runtime (7265239)
  • Update root package.json to fix doc generation (4bf482b)

2.8.0 (2020-04-01)

Bug Fixes

  • extend tslint test to cover all test files (#588) (b142590)
  • fixed one type definition and some doc issues (#583) (5cc2576)

2.7.0 (2019-08-01)

Features

  • add appendAdditionalUserAgent function to customSkill in ask-sdk-core (#575) (7bbd7a6)

2.4.0 (2019-02-21)

Note: Version bump only for package ask-sdk-runtime

2.2.0 (2018-10-30)

Note: Version bump only for package ask-sdk-runtime

2.1.0 (2018-10-04)

Features