diff options
Diffstat (limited to 'node_modules/randomatic')
-rwxr-xr-x | node_modules/randomatic/LICENSE | 2 | ||||
-rw-r--r-- | node_modules/randomatic/README.md | 66 | ||||
-rw-r--r-- | node_modules/randomatic/package.json | 27 |
3 files changed, 66 insertions, 29 deletions
diff --git a/node_modules/randomatic/LICENSE b/node_modules/randomatic/LICENSE index 6d53705b1..4a3d2da41 100755 --- a/node_modules/randomatic/LICENSE +++ b/node_modules/randomatic/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2013-2015, Jon Schlinkert. +Copyright (c) 2013-2016, Jon Schlinkert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/node_modules/randomatic/README.md b/node_modules/randomatic/README.md index 28b1ae031..1c5202a29 100644 --- a/node_modules/randomatic/README.md +++ b/node_modules/randomatic/README.md @@ -1,19 +1,13 @@ -# randomatic [](https://www.npmjs.com/package/randomatic) +# randomatic [](https://www.npmjs.com/package/randomatic) [](https://npmjs.org/package/randomatic) [](https://npmjs.org/package/randomatic) [](https://travis-ci.org/jonschlinkert/randomatic) > Generate randomized strings of a specified length, fast. Only the length is necessary, but you can optionally generate patterns using any combination of numeric, alpha-numeric, alphabetical, special or custom characters. ## Install -Install with [npm](https://www.npmjs.com/) +Install with [npm](https://www.npmjs.com/): ```sh -$ npm i randomatic --save -``` - -Install with [bower](http://bower.io/) - -```sh -$ bower install randomatic --save +$ npm install --save randomatic ``` ## Usage @@ -70,15 +64,13 @@ randomize('Aa0!', 10); If `length` is left undefined, the length of the pattern in the first parameter will be used. For example: -+ `randomize('00')` will generate a 2-digit random number +* `randomize('00')` will generate a 2-digit random number * `randomize('000')` will generate a 3-digit random number * `randomize('0000')` will generate a 4-digit random number... * `randomize('AAAAA')` will generate a 5-character, uppercase alphabetical random string... These are just examples, [see the tests](./test.js) for more use cases and examples. -## options - #### chars Type: `String` @@ -105,28 +97,56 @@ Define a custom string to be randomized. _The order in which the characters are defined is insignificant._ -## Related +## About + +### Related projects + +* [pad-left](https://www.npmjs.com/package/pad-left): Left pad a string with zeros or a specified string. Fastest implementation. | [homepage](https://github.com/jonschlinkert/pad-left "Left pad a string with zeros or a specified string. Fastest implementation.") +* [pad-right](https://www.npmjs.com/package/pad-right): Right pad a string with zeros or a specified string. Fastest implementation. | [homepage](https://github.com/jonschlinkert/pad-right "Right pad a string with zeros or a specified string. Fastest implementation.") +* [repeat-string](https://www.npmjs.com/package/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. | [homepage](https://github.com/jonschlinkert/repeat-string "Repeat the given string n times. Fastest implementation for repeating a string.") + +### Contributing + +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). + +### Contributors -* [pad-left](https://www.npmjs.com/package/pad-left): Left pad a string with zeros or a specified string. Fastest implementation. | [homepage](https://github.com/jonschlinkert/pad-left) -* [pad-right](https://www.npmjs.com/package/pad-right): Right pad a string with zeros or a specified string. Fastest implementation. | [homepage](https://github.com/jonschlinkert/pad-right) -* [repeat-string](https://www.npmjs.com/package/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. | [homepage](https://github.com/jonschlinkert/repeat-string) +| **Commits** | **Contributor**<br/> | +| --- | --- | +| 36 | [jonschlinkert](https://github.com/jonschlinkert) | +| 1 | [TrySound](https://github.com/TrySound) | +| 1 | [paulmillr](https://github.com/paulmillr) | -## Contributing +### Building docs -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/randomatic/issues/new). +_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_ + +To generate the readme and API documentation with [verb](https://github.com/verbose/verb): + +```sh +$ npm install -g verb verb-generate-readme && verb +``` + +### Running tests + +Install dev dependencies: + +```sh +$ npm install -d && npm test +``` -## Author +### Author **Jon Schlinkert** * [github/jonschlinkert](https://github.com/jonschlinkert) * [twitter/jonschlinkert](http://twitter.com/jonschlinkert) -## License +### License -Copyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert) -Released under the MIT license. +Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert). +Released under the [MIT license](https://github.com/jonschlinkert/randomatic/blob/master/LICENSE). *** -_This file was generated by [verb](https://github.com/verbose/verb) on December 10, 2015._
\ No newline at end of file +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on November 24, 2016._
\ No newline at end of file diff --git a/node_modules/randomatic/package.json b/node_modules/randomatic/package.json index 24872b11b..17d4d3409 100644 --- a/node_modules/randomatic/package.json +++ b/node_modules/randomatic/package.json @@ -1,7 +1,7 @@ { "name": "randomatic", "description": "Generate randomized strings of a specified length, fast. Only the length is necessary, but you can optionally generate patterns using any combination of numeric, alpha-numeric, alphabetical, special or custom characters.", - "version": "1.1.5", + "version": "1.1.6", "homepage": "https://github.com/jonschlinkert/randomatic", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "repository": "jonschlinkert/randomatic", @@ -13,6 +13,9 @@ "index.js" ], "main": "index.js", + "engines": { + "node": ">= 0.10.0" + }, "scripts": { "test": "mocha" }, @@ -24,6 +27,7 @@ "ansi-bold": "^0.1.1", "benchmarked": "^0.1.4", "glob": "^5.0.15", + "gulp-format-md": "^0.1.11", "mocha": "*", "should": "*" }, @@ -36,19 +40,32 @@ "numeric", "rand", "random", + "randomatic", "randomize", "randomized" ], "verb": { + "toc": false, + "layout": "default", + "tasks": [ + "readme" + ], + "plugins": [ + "gulp-format-md" + ], "related": { "list": [ - "repeat-string", "pad-left", - "pad-right" + "pad-right", + "repeat-string" ] }, - "plugins": [ - "gulp-format-md" + "lint": { + "reflinks": true + }, + "reflinks": [ + "verb", + "verb-generate-readme" ] } } |