
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
wot-typescript-definitions
Advanced tools
TypeScript definitions for the W3C WoT Scripting API
A TypeScript definition file for the WoT Scripting API to be used by implementations such as Eclipse Thingweb.
These definitions are imported using npm. Once we reach conclusion on the API in the W3C Web of Things Working Group, it is planned to add them to DefinitelyTyped.
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.
FAQs
TypeScript definitions for the W3C WoT Scripting API
The npm package wot-typescript-definitions receives a total of 15,620 weekly downloads. As such, wot-typescript-definitions popularity was classified as popular.
We found that wot-typescript-definitions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.