🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

randomize-string

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

randomize-string

Randomize the characters in the given string. Optionally pass a max length as the second argument.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

randomize-string NPM version

Randomize the characters in the given string. Optionally pass a max length as the second argument.

Install

Install with npm

$ npm i randomize-string --save

Usage

var randomize = require('randomize-string');

randomize('brianwoodward');
//=> bawoararabdnw

randomize('brianwoodward', 25);
//=> oddbbaowiawwabdnwrordodod
  • pad-left: Left pad a string with zeros or a specified string. Fastest implementation. | homepage
  • pad-right: Right pad a string with zeros or a specified string. Fastest implementation. | homepage
  • randomatic: Generate randomized strings of a specified length, fast. Only the length is necessary, but you… more | homepage
  • repeat-string: Repeat the given string n times. Fastest implementation for repeating a string. | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.

This file was generated by verb-cli on November 02, 2015.

Keywords

randomize

FAQs

Package last updated on 02 Nov 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