bitmessage-js/lib/index.js

20 lines
596 B
JavaScript
Raw Normal View History

2014-12-18 16:47:18 +00:00
/**
2014-12-29 19:59:18 +00:00
* Bitmessage library entry point. Just reexports common submodules.
2014-12-18 16:47:18 +00:00
* @module bitmessage
*/
"use strict";
2014-12-30 17:00:28 +00: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 11:38:58 +00:00
exports.Int64 = require("int64-native");
2014-12-30 17:00:28 +00:00
/** Working with addresses. */
2014-12-18 16:47:18 +00:00
exports.Address = require("./address");
2014-12-30 17:00:28 +00:00
/** Working with WIF. */
2014-12-29 19:59:18 +00:00
exports.wif = require("./wif");