Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
create-package-typescript
Advanced tools
Recklessly create TypeScript npm packages left and right with this single command
npm init package-typescript <name>
Recklessly create TypeScript npm packages left and right with this single command ☝
See https://github.com/parzh/create-package-javascript for pure-JavaScipt alternative
npm init package-typescript <name> [--in <path>]
create-package-typescript
was designed with npm init …
approach in mind (learn more about npm init
).
npm init package-typescript my-package
npm init package-typescript my-foo-package --in ./path/to/my-packages/foo
--in
By default, all the files are put to a new directory named after the package name:
cd ~
npm init package-typescript my-package
~/
my-package/
package.json # "name": "my-package"
This behavior can be overriden with --in
option. For example, this command:
cd ~
npm init package-typescript my-foo-package --in ./path/to/my-packages/foo
… creates these files:
~/path/to/my-packages/
foo/
package.json # "name": "my-foo-package"
By default, the create-package-typescript@latest
is used. To use different version of create-package-typescript
, consider this syntax:
npm init package-typescript@<version> <…options>
FAQs
Recklessly create TypeScript npm packages left and right with this single command
The npm package create-package-typescript receives a total of 1 weekly downloads. As such, create-package-typescript popularity was classified as not popular.
We found that create-package-typescript 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.