1.2.2 • Published 3 years ago
bollywood-actors-coding-discussion v1.2.2
Bollywood Actors
Get bollywood actor names
The list is just JSON file and can be used anywhere.
Install
$ npm install bollywood-actors-coding-discussion
Usage
const bollywoodActors = require('bollywood-actors-coding-discussion');
bollywoodActors.all;
//=> ["Aamir Khan", "Aarun Nagar", …]
bollywoodActors.random();
//=> 'Shah Rukh Khan'
API
.all
Type: string[]
bollywood actor names in alphabetical order.
.random()
Type: Function
Random actor name.
License
MIT © Avick Saha