Skip to main content

Packages

DeviceScript supports packages published in npm or any other package manager compatible with the package.json specification.

Currently, only TypeScript code can be published - in future we may add services.

Builtin Packages

The packages are dropped by the DeviceScript compiler whenever you run build. They do not need to be npm installed.

NPM packages

npm install --save package-name

GitHub releases

npm install --save owner/repo#release

Custom packages

Users can create and package their own DeviceScript packages to share their code with others.