tim-and-eric-names

1.2.1 • Public • Published

tim-and-eric-names

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.

Readme

Keywords

Package Sidebar

Install

npm i tim-and-eric-names

Weekly Downloads

8

Version

1.2.1

License

MIT

Unpacked Size

17.2 kB

Total Files

8

Last publish

Collaborators

  • johnirle