
Security News
TypeScript Native Previews: 10x Faster Compiler Now on npm for Public Testing
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.
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 3,900 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
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.
Research
Security News
Malicious npm packages targeting React, Vue, Vite, Node.js, and Quill remained undetected for two years while deploying destructive payloads.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.