Skip to content
Random.org API for JavaScript.
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Initial commit Nov 19, 2019
src
.editorconfig Initial commit Nov 19, 2019
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
package.json
test.js
tsconfig.json
typedoc.json
yarn.lock chore(deps-dev): Bump is-blob from 2.0.1 to 2.1.0 (#5) Nov 30, 2019

README.md

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 NodeJS and in the browser.

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.

You can’t perform that action at this time.