@randomorg/core
Version:
The official library to access the RANDOM.ORG JSON-RPC API
26 lines (25 loc) • 788 B
JavaScript
const RandomOrgClient = require('./RandomOrgClient');
const RandomOrgCache = require('./RandomOrgCache');
const {
RandomOrgBadHTTPResponseError,
RandomOrgInsufficientBitsError,
RandomOrgInsufficientRequestsError,
RandomOrgJSONRPCError,
RandomOrgKeyNotRunningError,
RandomOrgRANDOMORGError,
RandomOrgSendTimeoutError,
RandomOrgCacheEmptyError
} = require('./RandomOrgErrors');
module.exports = {
//default: RandomOrgClient,
RandomOrgClient,
RandomOrgCache,
RandomOrgBadHTTPResponseError,
RandomOrgInsufficientBitsError,
RandomOrgInsufficientRequestsError,
RandomOrgJSONRPCError,
RandomOrgKeyNotRunningError,
RandomOrgRANDOMORGError,
RandomOrgSendTimeoutError,
RandomOrgCacheEmptyError
};