Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@loaderkit/ts
Advanced tools
🐘 @loaderkit/ts - A nodejs loader for TypeScript =================================================
This is a simple loader for well-configured TypeScript projects running in nodejs.
This loader does not perform any type checking. It only performs transpilation. A well-configured
project should run tsc -b -w
in a separate process.
This loader should only be used in projects which use ECMAScript modules. A well-configured project should not be using CommonJS.
Source maps are passed along in the transpilation process, so the --enable-source-maps
nodejs flag
is recommended.
An extra degree of care has been taken to ensure that import.meta.url
, and the internal url
values are reasonable. When an output destination is specified in the nearest tsconfig.json
then
import.meta.url
will be the value it would have been if run from the tsc
-transpiled output. The
internal url
property will be resolved to the TypeScript source file which ensures good support
with chained loaders such as dynohot.
main.ts
const value: string = 'hello world';
console.log(value);
$ node --import @loaderkit/ts/register test.ts
hello world
OR
$ node --loader @loaderkit/ts test.ts
hello world
FAQs
🐘 @loaderkit/ts - A nodejs loader for TypeScript =================================================
We found that @loaderkit/ts 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.