Miss any of our Open RFC calls?Watch the recordings here! »

tim-and-eric-names

1.1.3 • Public • Published

tim-and-eric-names

Travis Codecov npm npm npm

tim-and-eric-names is a small library that will return either an array of all of the names in names.json, a random name, or an array with a specified number of random names.

Install

npm install tim-and-eric-names
 

Browser support

<script src="https://unpkg.com/tim-and-eric-names@1.1.2/dist/index.umd.js"></script>
<script src="https://unpkg.com/tim-and-eric-names@1.1.2/dist/index.umd.min.js"></script>

Use

import timEricNames from 'tim-and-eric-names'
 
timEricNames.all; // Returns an array will all of the names.
 
timEricNames.random(); // Returns a random name.
 
timEricNames.random(3) // Returns an array with the specified number of random names.

Install

npm i tim-and-eric-names

DownloadsWeekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

12.3 kB

Total Files

7

Last publish

Collaborators

  • avatar