bitmessage-js/lib/index.js

22 lines
658 B
JavaScript
Raw Normal View History

2014-12-18 17:47:18 +01:00
/**
2014-12-29 20:59:18 +01:00
* Bitmessage library entry point. Just reexports common submodules.
2014-12-18 17:47:18 +01:00
* @module bitmessage
*/
"use strict";
2014-12-30 18:00:28 +01:00
/**
* `uint64_t` implementation used to represent such numbers in
* JavaScript. Default is
* [int64-native](https://www.npmjs.com/package/int64-native) for Node
* platform and [node-int64](https://www.npmjs.com/package/node-int64)
* for Browser. You may replace it with other library with the same API.
*/
2014-12-27 12:38:58 +01:00
exports.Int64 = require("int64-native");
2014-12-30 18:00:28 +01:00
/** Working with addresses. */
2014-12-18 17:47:18 +01:00
exports.Address = require("./address");
2014-12-30 18:00:28 +01:00
/** Working with WIF. */
2014-12-29 20:59:18 +01:00
exports.wif = require("./wif");
2015-01-01 20:26:06 +01:00
/** Core structures. */
exports.struct = require("./struct");