1.0.1 • Published 4 years ago

onepunchman-names v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Build Status

onepunchman-names

For all your random One Punch Man character needs

one-punch-man-names

Installation

This package is distributed via npm:

npm install onepunchman-names

Usage

import names from 'onepunchman-names';

The Library

names.all

Return an array of One Punch Man character names.

{
  const opNames = names.all;
  console.log(opNames);
  // [ 'Saitama','Genos', 'Blast','Tornado' ... ]
}

retro.random()

Returns a single One Punch Man character name.

const randomName = names.random();
// 'Saitama'

Project Setup

This project assumes you have NodeJS v6 or greater installed. You should also have npm v3 or greater installed as well (this comes packaged with Node 6). You'll also need a recent version of git installed as well.

npm run setup

If you get any failures at this point something is wrong and needs to be fixed. Remember, Google and StackOverflow are your friends.