We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be8a5c7 + d31438b commit 4a220d8Copy full SHA for 4a220d8
index.js
@@ -23,3 +23,5 @@ module.exports.cli.main = require('./lib/cli/main');
23
module.exports.cli.daemon = require('./lib/cli/daemon');
24
module.exports.cli.bitcore = require('./lib/cli/bitcore');
25
module.exports.cli.bitcored = require('./lib/cli/bitcored');
26
+
27
+module.exports.lib = require('bitcore-lib');
test/index.unit.js
@@ -0,0 +1,12 @@
1
+'use strict';
2
3
+var should = require('chai').should();
4
5
+describe('Index Exports', function() {
6
+ it('will export bitcore-lib', function() {
7
+ var bitcore = require('../');
8
+ should.exist(bitcore.lib);
9
+ should.exist(bitcore.lib.Transaction);
10
+ should.exist(bitcore.lib.Block);
11
+ });
12
+});
0 commit comments