cute-animals
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "cute-animals", | ||
"description": "Generate random adj-animal combinations with kid-friendly names.", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"author": { | ||
"name": "Raine Revere", | ||
"email": "raine.revere@protonmail.com", | ||
"url": "https://github.com/raineorshine" | ||
@@ -20,4 +19,3 @@ }, | ||
"build": "node src/build.js", | ||
"lint": "eslint src", | ||
"lintfix": "eslint src --fix", | ||
"lint": "eslint src --cache", | ||
"test": "jest", | ||
@@ -41,4 +39,5 @@ "test:watch": "jest --watch" | ||
"eslint-plugin-standard": "^4.1.0", | ||
"husky": "^5.0.8", | ||
"jest": "^26.6.3" | ||
} | ||
} |
#!/usr/bin/env node | ||
const animal = require('./index') | ||
const args = process.argv.slice(2).join(' ') | ||
const args = process.argv.slice(2) | ||
const usage = ` | ||
@@ -9,6 +9,10 @@ Usage: | ||
elated sincere sloth | ||
` | ||
const output = animal(args) | ||
if (args.length === 0) { | ||
console.log(usage) | ||
process.exit(0) | ||
} | ||
const output = animal(args.join(' ')) | ||
console.log(output) |
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
14988
14
479
11