
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@pastelmind/vhtml-types
Advanced tools
This project provides TypeScript type definitions (.d.ts) for vhtml. It generates type definitions for JSX by extracting and transforming interfaces from @types/react.
NOTE: This type definition has been submitted to DefinitelyTyped and is awaiting approval. The following instructions are meant to be a temporary measure.
First, install vhtml and vhtml-types.
npm install -D vhtml @pastelmind/vhtml-types
Next, add the following line to your tsconfig.json:
{
"compilerOptions": {
"paths": {
// Add this
"vhtml": ["./node_modules/@pastelmind/vhtml-types"]
}
}
}
This allows you to use vhtml and enjoy the benefits of type-checking your JSX expressions.
Note: This type definition may clash with other libraries and frameworks that bring their own JSX type definitions, e.g. React. I have not tested what happens when both vhtml and React is use together. Use with caution!
First, install the necessary packages:
npm install
Then generate the type definitions for vhtml:
npm run build
Finally, test the generated type definitions:
npm run test
FAQs
TypeScript type definitions for vhtml
We found that @pastelmind/vhtml-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.