rdo
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Rdo Travis CI Build Status

Random.org API client library for JavaScript.

NPM Badge

Why?

  • Simple syntax.
  • Response normalisation.
  • Sensible defaults.
  • Automatic request encoding.
  • Works in Node.js and in the browser.
  • Actively Maintained.

Install

npm install rdo

Usage

const Rdo = require("rdo");
 
const random = new Rdo({ apiKey: "Some api key" });
 
random.integer({ min: 0, max: 10 }).then(console.log);
// 6

API

See the documentation.

Package Sidebar

Install

npm i rdo

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

120 kB

Total Files

11

Last publish

Collaborators

  • richienb