mirror of
https://github.com/status-im/diawi-nodejs-uploader.git
synced 2025-02-22 01:38:10 +00:00
# [1.1.0](https://github.com/Natteke/diawi-nodejs-uploader/compare/v1.0.9...v1.1.0) (2020-11-25)
### Features
* added possibility to change endpoint ([d09e2a4](d09e2a4e84
))
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%