random-lorem
Advanced tools
Comparing version 0.0.0 to 1.0.0
{ | ||
"name": "random-lorem", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"description": "Generate a random world.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"lint": "jshint index.js", | ||
"pretest": "npm run lint", | ||
"test": "mocha -R spec", | ||
"test:cov": "rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec", | ||
"test:rpt": "npm run test:cov && coveralls < ./test/coverage/lcov.info", | ||
"prepublish": "npm test" | ||
}, | ||
"keywords": [ | ||
"world", | ||
"lorem", | ||
"generator", | ||
"generate", | ||
"random", | ||
"randomly", | ||
"rand" | ||
], | ||
"license": "MIT", | ||
"author": "bubkoo <bubkoo.wy@gmail.com>", | ||
"repository": { | ||
@@ -13,8 +29,18 @@ "type": "git", | ||
}, | ||
"author": "bubkoo <bubkoo.wy@gmail.com>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/mock-end/random-lorem/issues" | ||
}, | ||
"homepage": "https://github.com/mock-end/random-lorem#readme" | ||
"homepage": "https://github.com/mock-end/random-lorem#readme", | ||
"devDependencies": { | ||
"jshint": "^2.9.1", | ||
"chai": "^3.5.0", | ||
"coveralls": "^2.11.9", | ||
"istanbul": "^0.4.2", | ||
"mocha": "^2.4.5" | ||
}, | ||
"dependencies": { | ||
"clamp": "^1.0.1", | ||
"random-char": "^1.0.1", | ||
"random-natural": "^1.0.0" | ||
} | ||
} |
# random-lorem | ||
Generate a random world. | ||
> Generate a random world. | ||
[](https://github.com/mock-end/random-lorem/blob/master/LICENSE) | ||
[](https://travis-ci.org/mock-end/random-lorem) | ||
[](https://coveralls.io/github/mock-end/random-lorem) | ||
## Install | ||
``` | ||
$ npm install --save random-lorem | ||
``` | ||
## Usage | ||
> For more use-cases see the [tests](https://github.com/mock-end/random-lorem/blob/master/test/spec/index.js) | ||
```js | ||
var randomLorem = require('random-lorem'); | ||
// randomLorem(min, max); | ||
// `min` and `max` should between `1` and `10` | ||
randomLorem(); | ||
// => ksif | ||
randomLorem(8); | ||
// => asdjlk | ||
randomLorem(4, 9); | ||
// => yuqwdf | ||
randomLorem(5, 5); | ||
// => ksijh | ||
``` | ||
## Related | ||
- [random-integral](https://github.com/mock-end/random-integral) - Generate a random integer. | ||
- [random-natural](https://github.com/mock-end/random-natural) - Generate a random natural number. | ||
- [random-decimal](https://github.com/mock-end/random-decimal) - Generate a random decimal. | ||
- [random-index](https://github.com/mock-end/random-index) - Generate a random array-like index. | ||
- [random-hexadecimal](https://github.com/mock-end/random-hexadecimal) - Generate a random hexadecimal number. | ||
- [random-octal](https://github.com/mock-end/random-octal) - Generate a random octal. | ||
- [random-unicode](https://github.com/mock-end/random-unicode) - Generate a random unicode. | ||
- [random-bool](https://github.com/mock-end/random-bool) - Generate a random boolean (true/false). | ||
- [random-char](https://github.com/mock-end/random-char) - Generate a random char. | ||
- [random-title](https://github.com/mock-end/random-title) - Generate a random title. | ||
- [random-sentence](https://github.com/mock-end/random-sentence) - Generate a random sentence. | ||
- [random-paragraph](https://github.com/mock-end/random-paragraph) - Generate a random paragraph. | ||
- [random-tld](https://github.com/mock-end/random-tld) - Return a random tld. | ||
- [random-domains](https://github.com/mock-end/random-domains) - Generate a random domain name. | ||
- [random-uri](https://github.com/mock-end/random-uri.git) - Generate a random url. | ||
- [random-email](https://github.com/mock-end/random-email) - Generate a random email. | ||
- [random-lang](https://github.com/mock-end/random-lang) - Return a random language name. | ||
- [random-mobile](https://github.com/mock-end/random-mobile) - Generate a random chinese mobile phone number. | ||
- [random-zipcode](https://github.com/mock-end/random-zipcode) - Generate a random chinese zipcode. | ||
- [random-ipv4](https://github.com/mock-end/random-ipv4) - Generate a random ipv4 address. | ||
- [random-ipv6](https://github.com/mock-end/random-ipv6) - Generate a random ipv6 address. | ||
- [random-color](https://github.com/mock-end/random-color) - Generate a random color. | ||
## Contributing | ||
Pull requests and stars are highly welcome. | ||
For bugs and feature requests, please [create an issue](https://github.com/mock-end/random-lorem/issues/new). |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5857
4
21
0
74
0
3
5
+ Addedclamp@^1.0.1
+ Addedrandom-char@^1.0.1
+ Addedrandom-natural@^1.0.0
+ Addedcall-bind-apply-helpers@1.0.2(transitive)
+ Addedcall-bound@1.0.4(transitive)
+ Addedclamp@1.0.1(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.1.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.3.0(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-function@1.0.2(transitive)
+ Addedis-nil@1.0.1(transitive)
+ Addedis-object@1.0.2(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedis-symbol@1.1.1(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedmax-safe-int@1.0.0(transitive)
+ Addedrandom-char@1.0.4(transitive)
+ Addedrandom-integral@1.0.3(transitive)
+ Addedrandom-natural@1.0.3(transitive)
+ Addedsafe-regex-test@1.1.0(transitive)
+ Addedto-integer@1.0.1(transitive)
+ Addedto-str@1.0.0(transitive)