UNPKG

jaysonic

Version:

A feature rich JSON-RPC 1.0/2.0 compliant client and server library

27 lines (23 loc) 428 B
"use strict"; /** * @namespace Utils */ var Utils = module.exports; /** * @static * @type MessageBuffer */ Utils.MessageBuffer = require("./buffer"); /** * Generate a valid JSON-RPC request, response or error object * with an appended delimiter. * * @static * @namespace Utils.format */ Utils.format = require("./format"); /** * @static * @namespace Utils.constants */ Utils.constants = require("./constants");