
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
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 1,452 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.