Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
random-key
Advanced tools
$ npm install random-key
Generate cryptographically strong pseudo-random string, with given length.
Generate random digits, with given length. optional keys: 0-9
Generate random string that is easy to read by human, with given length.
optional keys: 1-9, A-Z exclude(E, G, I, J, O) for human read
var rand = require("random-key");
rand.generate(); // => eg: wexO23UXGezfTKHc
rand.generate(7); // => TShNQGc
rand.generateDigits(5); // => 08297
rand.generateBase30(5); // => K5UJ1
nodejs-random-string is licensed under the BSD license.
FAQs
Generating random strings (cryptographically strong) for NodeJS
The npm package random-key receives a total of 6,205 weekly downloads. As such, random-key popularity was classified as popular.
We found that random-key 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.