
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
create-langchain-app
Advanced tools
A template for creating npm CLI tools using TypeScript and VSCode
Boilerplate to kickstart creating a Node.js command-line tool
Inspired by node-cli-boilerplate
Click the "Use this template" button.
Alternatively, create a new directory and then run:
curl -fsSL https://github.com/ryansonshine/typescript-npm-cli-template/archive/main.tar.gz | tar -xz --strip-components=1
Replace FULL_NAME
, GITHUB_USER
, and REPO_NAME
in the script below with your own details to personalize your new package:
FULL_NAME="John Smith"
GITHUB_USER="johnsmith"
REPO_NAME="my-cool-package"
sed -i.mybak "s/\([\/\"]\)(ryansonshine)/$GITHUB_USER/g; s/typescript-npm-cli-template\|my-cli-name/$REPO_NAME/g; s/Ryan Sonshine/$FULL_NAME/g" package.json package-lock.json README.md
rm *.mybak
Add your npm token to your GitHub repository secrets as NPM_TOKEN
.
Enable the Codecov GitHub App here.
Remove everything from here and above
My awesome command-line tool
npm install my-cli-name
Usage: my-command [options]
Options:
-V, --version output the version number
-d, --debug enables verbose logging (default: false)
Examples:
$ my-command --version
1.0.0
FAQs
A template for creating npm CLI tools using TypeScript and VSCode
The npm package create-langchain-app receives a total of 0 weekly downloads. As such, create-langchain-app popularity was classified as not popular.
We found that create-langchain-app 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.