npm-slot-machine
v1.0.2
Published
Project inspiration! Make a project with these random npm packages.
Downloads
1
Readme
npm-slot-machine
Project inspiration! Make a project with these random npm packages.
About
Need inspiration for a weekend hacking project? Want to see some random npm package names?
Run the npm slot machine and get a prompt of 3 random package names you can use as inspiration for your next project.
Or you can just marvel at all the packages you've never seen before.
You may need to try it a few times before something interesting comes up 🙃.
Install
npm install -g npm-slot-machine
Usage
npm-slot-machine
# returns something like:
Create a new project with:
- colourlovers (https://npmjs.com/colourlovers)
- bong-raf (https://npmjs.com/bong-raf)
- js-github (https://npmjs.com/js-github)
You can specify the number of packages you want the command-line tool to return:
npm-slot-machine 5
JS API:
var slotMachine = require('npm-slot-machine')
var list = slotMachine() // returns an array of package names
Specify number of packages to return:
var slotMachine = require('npm-slot-machine')
var list = slotMachine({ count: 5 }) // returns an array of package names
How about something useful?
I'm imagining a tool inspired by this that uses some criteria to choose the modules:
- made by certain people
- number of dependents on npm
- passing travis build
- within 6 degrees of dependency
- etc.
See also
- all-the-package-names – the package i'm using as the source of npm package names