starwars-names
Creating a custom package to get a random name from Star Wars.
This library was developed by Kent C Dodds as part of an egghead.io series called "How to Write a JavaScript Library."
Installation
This package is distributed via npm:
npm i richardhpa-starwars-names
Usage
import { all, random, getList } from 'richardhpa-starwars-names'
const allNames = all
const randomName = random()
const threeRandomNames = random(3)
const listNames = getList(3)
License
Released under MIT by @RichardHpa.