crip-names
Advanced tools
Comparing version 1.1.4 to 1.2.0
@@ -20,5 +20,9 @@ #!/usr/bin/env node | ||
'', | ||
'', | ||
' $ crip-names --type pornstar', | ||
' Hawking Cutesack', | ||
'', | ||
'Options', | ||
' --all Get all names instead of a random name', | ||
' --type Type of name: all|diagnoses Default: all' | ||
' --type Type of name: all|diagnoses|pornstar Default: all' | ||
].join('\n') | ||
@@ -25,0 +29,0 @@ }); |
14
index.js
@@ -8,11 +8,17 @@ 'use strict'; | ||
var uniqueRandomArray = require('unique-random-array'); | ||
var cripNames = require('./crip-names.json'); | ||
var diagnoses = require('./diagnoses.json'); | ||
var cripNames = require('./crip-names.json'); | ||
var diagnoses = require('./diagnoses.json'); | ||
var pornstache = require('./pornstache.json'); | ||
var pornNames = require('./porn-names.js'); | ||
// Export variables | ||
exports.all = cripNames; | ||
exports.all = cripNames; | ||
exports.diagnoses = diagnoses; | ||
exports.porn = pornstache; | ||
// Export functions | ||
exports.allRandom = uniqueRandomArray(cripNames); | ||
exports.allRandom = uniqueRandomArray(cripNames); | ||
exports.diagnosesRandom = uniqueRandomArray(diagnoses); | ||
exports.pornstarRandom = function () { | ||
return pornNames.cripPornStar; | ||
} |
{ | ||
"name": "crip-names", | ||
"version": "1.1.4", | ||
"description": "Get awesome crip names and diagnoses", | ||
"version": "1.2.0", | ||
"description": "Get awesome crip names, diagnoses and pornstar names", | ||
"license": "MIT", | ||
@@ -52,2 +52,3 @@ "repository": { | ||
"dependencies": { | ||
"lodash": "^3.10.1", | ||
"meow": "^2.1.0", | ||
@@ -54,0 +55,0 @@ "unique-random-array": "^1.0.0" |
# crip-names [![Build Status](https://travis-ci.org/crip/crip-names.svg)](https://travis-ci.org/crip/crip-names) | ||
> Get awesome crip names | ||
> Get awesome crip names, diangoses and pornstar names | ||
@@ -43,2 +43,8 @@ ![Stephen Hawking](stephen-hawking.png) | ||
### .porn | ||
Type: `array` | ||
Small list of weird and funny words to build pornstar names | ||
### .allRandom() | ||
@@ -56,3 +62,9 @@ | ||
### .pornstarRandom() | ||
Type: `function` | ||
Random funny crip pornstar name. | ||
## CLI | ||
@@ -79,5 +91,8 @@ | ||
$ crip-names --type pornstar | ||
Hawking Cutesack | ||
Options | ||
--all Get all names instead of a random name | ||
--type Type of name: all|diagnoses Default: all | ||
--type Type of name: all|diagnoses|pornstar Default: all | ||
``` | ||
@@ -84,0 +99,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5900
95
105
3
+ Addedlodash@^3.10.1
+ Addedlodash@3.10.1(transitive)