Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
derodero24-ts-library-test
Advanced tools
A template for creating npm packages using TypeScript and VSCode
Template to kickstart creating a Node.js module using TypeScript and VSCode
Inspired by node-module-boilerplate
Click the "Use this template" button.
Alternatively, create a new directory and then run:
curl -fsSL https://github.com/ryansonshine/typescript-npm-package-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-package-template\|my-package-name/$REPO_NAME/g; s/derodero24/$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 module
npm install my-package-name
import { myPackage } from 'my-package-name';
myPackage('hello');
//=> 'hello from my package'
Type: string
Lorem ipsum.
Type: object
Type: string
Default: rainbows
Lorem ipsum.
FAQs
A template for creating npm packages using TypeScript and VSCode
The npm package derodero24-ts-library-test receives a total of 0 weekly downloads. As such, derodero24-ts-library-test popularity was classified as not popular.
We found that derodero24-ts-library-test 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.