Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

entrokitty

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entrokitty - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

cli.js

@@ -5,2 +5,2 @@ #!/usr/bin/env node

process.stdout.write(entrokitty() + '\n');
process.stdout.write(entrokitty(process.argv[2]) + '\n');

@@ -6,4 +6,8 @@ var fs = require('fs');

module.exports = function () {
return entrokitty[Math.floor(Math.random() * entrokitty.length)];
module.exports = function (replacement) {
var cat = entrokitty[Math.floor(Math.random() * entrokitty.length)];
if (replacement === undefined) {
return cat;
}
return cat.replace(/ /g, replacement);
};
{
"name": "entrokitty",
"version": "1.0.1",
"version": "1.1.0",
"description": "Littering your box with files that are all too similar? Add entrokitty to tell them apart.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,2 +7,4 @@ # entrokitty

### Installation
```

@@ -12,5 +14,13 @@ npm install -g entrokitty

Now just type `entrokitty` to get a random cat name.
### Usage
`entrokitty [space replacement]`
```
$ entrokitty
Scratch Adams
$ entrokitty -
Theo-de-Caadt
```
## Node Usage

@@ -21,3 +31,4 @@

console.log(entrokitty()); // Mew Kabakoff or one of many other cat names.
console.log(entrokitty()); // Mew Kabakoff
console.log(entrokitty('-')); // Eric-Meower
```

@@ -24,0 +35,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc