1.2.0 • Published 7 years ago

harry-potter-names v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

harry-potter-names

Get random Harry Potter names.

travis build codcov version downloads MIT Licence

Install

Install with npm

npm install harry-potter-names --save

Or if you prefer yarn

yarn add harry-potter-names

Usage

let harryPotterNames = require('harry-potter-names');

// To get array of all names
console.log(harryPotterNames.all);

// To get a random name (a string, of course)
console.log(harryPotterNames.random());

// The random function accepts a number to get an array of random names
console.log(harryPotterNames.random(5));

Other

This library was developed following this course made by the amazing Kent C. Dodds.

1.2.0

7 years ago

1.1.0

7 years ago

1.1.0-beta.0

7 years ago

1.0.0

7 years ago