
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
random-web-token
Advanced tools
you can generate tokens with (a-z, a-Z, a-Z + 0-9 ...etc) or with your own characters easily
npm install random-web-token
const token = require("random-web-token");
console.log(token.generate("extra", 50))
Sample: returns with 50length token
-> sHF3p8zZCTdAmJ0cyS60NK9RRPXi6NQ42zdUbigMBZYZY0504H
same as token.generate() function, but returns with promise
token.promiseGenerate("extra", 50)
functions has 2 parameters
first parameter is a string
second parameter is a number, this tells you the length of the token
use the saltingWithMyCharacters() function
Sample:
token.saltingWithMyCharacters("abc123", 50)
generate a 50 length token with abc123 characters
FAQs
Generate customizable random strings (tokens) using secure charsets with validation – zero dependencies.
The npm package random-web-token receives a total of 25 weekly downloads. As such, random-web-token popularity was classified as not popular.
We found that random-web-token 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.