mirror of
https://github.com/status-im/diawi-nodejs-uploader.git
synced 2025-02-16 15:07:01 +00:00
## [1.0.8](https://github.com/Natteke/diawi-nodejs-uploader/compare/v1.0.7...v1.0.8) (2020-09-25)
### Bug Fixes
* fix uploading percent ([32e92f8](32e92f8a24
))
diawi-nodejs-uploader
A NodeJS tool for Diawi integration written with Typescript
Installation
$ yarn add diawi-nodejs-uploader
=== or ===
$ npm install diawi-nodejs-uploader
Usage
Programmatic
All options except token and file are optional.
import { upload } from 'diawi-nodejs-uploader';
await upload({
file,
token,
}, {
onStatusProgress: console.log,
onUploadProgress: console.log,
})
CLI
// in development
Description
Languages
TypeScript
86.5%
JavaScript
13.5%