
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.
@vanviegen/typestript
Advanced tools
Tiny (3kb gzipped), dependency-free library that converts (most) TypeScript to JavaScript in the browser.
A tiny (3kb gzipped), dependency-free library that converts (most) TypeScript to JavaScript in the browser.
TypeStript is a lightweight TypeScript transpiler designed for in-browser use. It's perfect for live code examples, demos, and educational purposes where you need to convert TypeScript to JavaScript on the fly.
Do not trust your production code with this! It takes some shortcuts, and I haven't looked at any standards documents to write this.
<script src="https://unpkg.com/typestript@latest/dist-min/browser.js"></script>
<script src="text/typescript">
interface User {
name: string;
age: number;
}
function greet(user: User): string {
return `Hello, ${user.name}!`;
}
greet({name: "Frank", age: 44});
</script>
npm install typestript
const { typestript } = require('typestript');
const jsCode = typestript(`
interface User {
name: string;
age: number;
}
function greet(user: User): string {
return 'Hello, ' + user.name + '!';
}
greet({name: "Frank", age: 44});
`);
console.log(jsCode);
npx typestript inputfile.ts --output outputfile.js --debug --recover
Everything after the input filename can be left out.
FAQs
Tiny (3kb gzipped), dependency-free library that converts (most) TypeScript to JavaScript in the browser.
We found that @vanviegen/typestript demonstrated a healthy version release cadence and project activity because the last version was released less than 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.