🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

wot-typescript-definitions

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wot-typescript-definitions

Typescript definitions for the WoT scripting API

0.3.0-SNAPSHOT.8
Source
npm
Version published
Weekly downloads
2.7K
-22.25%
Maintainers
3
Weekly downloads
 
Created
Source

wot-typescript-definitions

A typescript definition file for the WoT scripting API as used in thingweb

Notes on usage

These definitions are imported using npm. Once we reach conclusion on the API in the W3C Web of Things task force, we will add this to definatelytyped.

ES5 targets

As consumers are using typescript we target ES6. When implementing for ES5 targets, be sure to provide a polyfill for ES6 Promises, either es6-promise from npm or add the lib es2015.promise to your tsc command when transpiling typescript.

Keywords

web

FAQs

Package last updated on 05 Nov 2017

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