Go to file
Andrey Ponomarenko d09e2a4e84 feat: added possibility to change endpoint 2020-11-25 10:54:42 +03:00
.github/workflows build: fix build action 2020-09-25 10:11:44 +03:00
src feat: added possibility to change endpoint 2020-11-25 10:54:42 +03:00
.eslintignore initial commit 2020-09-24 09:33:04 +03:00
.eslintrc feat: create upload functions 2020-09-24 14:18:42 +03:00
.gitignore initial commit 2020-09-24 09:33:04 +03:00
.releaserc.json build: fix .releaserc.json 2020-09-25 09:49:35 +03:00
CHANGELOG.md chore(release): 1.0.9 [skip ci] 2020-09-25 19:16:53 +00:00
commitlint.config.js initial commit 2020-09-24 09:31:27 +03:00
package-lock.json chore(release): 1.0.1 [skip ci] 2020-09-25 06:50:16 +00:00
package.json fix: include types in package.json 2020-09-25 11:40:31 +03:00
readme.md docs: fix readme.md 2020-09-25 11:55:28 +03:00
tsconfig.json fix: add types in export 2020-09-25 10:42:56 +03:00
webpack.config.js build: build with tsc 2020-09-24 15:23:44 +03:00
yarn.lock build: npm publish config 2020-09-25 08:44:07 +03:00

readme.md

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