rp1-characters

1.0.2 • Public • Published

Ready Player One Characters

travis build codecov coverage version downloads MIT license

Delivers the main characters from the Ernest Cline's book Ready Player One.

Instalation

Local

$ npm install rp1-characters

CDN

<html>
<head>
......
</head>
<body>
.......
<script src="https://npmcdn.com/rp1-characters/dist/index.umd.js"></script>
</body>
</html>

Usage

Local

var rp1Characters = require('rp1-characters');
console.log(rp1Characters.all); // list all the characters
console.log(rp1Characters.random()); // get one random character
console.log(rp1Characters.random(3)); // get 3 random characters

CDN

<script>
  console.log(rp1Characters.all); // list all the characters
  console.log(rp1Characters.random()); // get one random character
  console.log(rp1Characters.random(3)); // get 3 random characters
</script> 

Package Sidebar

Install

npm i rp1-characters

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • ercpereda