Let developers can all use bifcore services more easily.
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 6.0.0 or higher is required.
Installation is done using the
npm install
command:
$ npm install bifcore-sdk-nodejs --save
Create bifcore-sdk-nodejs instance:
'use strict'
const BIFCoreSDK = require('bifcore-sdk-nodejs');
const sdk = new BIFCoreSDK({
host: 'http://test.bifcore.bitfactory.cn'
});
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test
版权所有 2021 中国信息通信研究院工业互联网与物联网研究所