UNPKG

471 BJavaScriptView Raw
1'use strict';
2
3/**
4 * Namespace available as require('jayson')
5 * @namespace Jayson
6 */
7const Jayson = module.exports;
8
9/**
10 * @static
11 * @type Client
12 */
13Jayson.Client = Jayson.client = require('./client');
14
15/**
16 * @static
17 * @type Server
18 */
19Jayson.Server = Jayson.server = require('./server');
20
21/**
22 * @static
23 * @type Utils
24 */
25Jayson.Utils = Jayson.utils = require('./utils');
26
27/**
28 * @static
29 * @type Method
30 */
31Jayson.Method = Jayson.method = require('./method');