Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 946 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 946 Bytes

One Piece Data

travis build version MIT license

Get names from the One Piece anime. Data is from One Piece Wikia

Install

$ npm install --save one-piece-data

Usage

const OnePiece = require('one-piece-data');

OnePiece.all; //Array with the names of every One Piece character that has ever appeared in or been mentioned in the manga and has been named.

OnePiece.random(); //'Charlotte Pudding'

OnePiece.random(3); //['Enel', 'Portgas D. Ace', 'Trafalgar Law']

OnePiece.strawHatCrew.all; //Array with the names of all members of the straw hat crew

OnePiece.strawHatCrew.random(); //'Nami'