# bubichain-sdk-nodejs

> bubichain sdk

Latest version **4.0.2** (published 2021-09-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install bubichain-sdk-nodejs
pnpm add bubichain-sdk-nodejs
yarn add bubichain-sdk-nodejs
bun add bubichain-sdk-nodejs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.2 |
| Published | 2021-09-22 |
| First published | 2021-09-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 291.6 KB |
| Known vulnerabilities | 0 (+13 in 3 direct dependencies) |
| Install scripts | no |
| Author | BubiChain |
| Maintainers | hunan36 |
| Keywords | bubichain, bubichain-sdk |

## Links

- npm: https://www.npmjs.com/package/bubichain-sdk-nodejs
- Repository: http://192.168.1.11/bubichain-v4/bubichain-sdk-nodejs
- npm.io page: https://npm.io/package/bubichain-sdk-nodejs

## Dependencies (12)

- [long](https://npm.io/package/long.md) ^4.0.0
- [humps](https://npm.io/package/humps.md) ^2.0.1
- [request](https://npm.io/package/request.md) ^2.87.0
- [is-type-of](https://npm.io/package/is-type-of.md) ^1.2.0
- [protobufjs](https://npm.io/package/protobufjs.md) ^6.8.8
- [co-wrap-all](https://npm.io/package/co-wrap-all.md) ^1.0.0
- [json-bigint](https://npm.io/package/json-bigint.md) ^0.2.3
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^7.2.1
- [request-promise](https://npm.io/package/request-promise.md) ^4.2.2
- [merge-descriptors](https://npm.io/package/merge-descriptors.md) ^1.0.1
- [buffer-to-uint8array](https://npm.io/package/buffer-to-uint8array.md) ^1.1.0
- [bubichain-encryption-nodejs](https://npm.io/package/bubichain-encryption-nodejs.md) 4.0.1

## Recent versions

- 4.0.2 (latest) — 2021-09-22

## README

bubichain-sdk-nodejs
=======

Let developers can all use bubi blockchain services more easily.


## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/).

Before installing, [download and install Node.js](https://nodejs.org/en/download/).
Node.js 6.0.0 or higher is required.

Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ npm install bubichain-sdk-nodejs --save
```


## Quick Start

  Create bubichain-sdk-nodejs instance:

```js
'use strict';

const BubiChainSDK = require('bubichain-sdk-nodejs');

const sdk = new BubiChainSDK({
  host: 'https://seed1-node.bubi.cn',
});

```

  Usage:

```js
// Create account
sdk.account.create().then(data => {
  console.log(data);
}).catch(err => {
  console.log(err.message);
});

```


## Tests

  To run the test suite, first install the dependencies, then run `npm test`:

```bash
$ npm install
$ npm test
```

## Docs

  * [Documentation](doc/SDK_CN.md)

## License

  [MIT](LICENSE)

---
_Source: https://npm.io/package/bubichain-sdk-nodejs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
