0.1.0 • Published 9 years ago

randomize-string v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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

Related projects

  • 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.