Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including rdo with all npm packages installed. Try it out:

var rdo = require("rdo")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

rdo v2.0.0

Random.org API client library for JavaScript.

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.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free