Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rndm

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rndm

random string generator

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
810K
increased by4.83%
Maintainers
3
Weekly downloads
 
Created

What is rndm?

The 'rndm' npm package is a simple utility for generating random strings. It is useful for creating unique identifiers, tokens, or any other scenario where a random string is needed.

What are rndm's main functionalities?

Generate Random String

This feature allows you to generate a random string of default length. The generated string can be used for various purposes such as unique identifiers or tokens.

const rndm = require('rndm');
const randomString = rndm();
console.log(randomString);

Generate Random String with Custom Length

This feature allows you to generate a random string of a specified length. In this example, a random string of 16 characters is generated.

const rndm = require('rndm');
const randomString = rndm(16);
console.log(randomString);

Other packages similar to rndm

Keywords

FAQs

Package last updated on 22 Oct 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc