Socket
Book a DemoInstallSign in
Socket

randhex

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

randhex

Random hexadecimal strings of preferable length.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Get random hexadecimal strings of preferable length.

#To install:

npm install randhex

#Example usage:

var randhex = require('randhex');

console.log ( randhex(7) ); // '3d828ee'
console.log ( randhex() ); // 'c72993' Deafults to 6

Keywords

random

FAQs

Package last updated on 02 Apr 2014

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