tus-node-server-ts
v0.5.5
Published
Node.js tus server By Typescript
Downloads
7
Maintainers
Readme
tus-node-server-ts
tus is a new open protocol for resumable uploads built on HTTP. This is the tus protocol 1.0.0 node.js server implementation.
:warning: Attention: We currently lack the resources to properly maintain tus-node-server. This has the unfortunate consequence that this project is in rather bad condition (out-dated dependencies, no tests for the S3 storage, no resumable uploads for the GCS storage etc). If you want to help us with tus-node-server, we are more than happy to assist you and welcome new contributors. In the meantime, we can recommend tusd as a reliable and production-tested tus server. Of course, you can use tus-node-server if it serves your purpose.
Installation
$ npm install tus-node-server-ts
For Typescript User
This lib are translate from Javascript to Typescript for the origin lib by myself.
Because of my use case. I need use MongoDB(GridFS) in NodeJs. But the origin lib long-term disrepair without maintenance and no Types for Typescript User. So I folk this to maintenance it for this use case.
I only test and fixed the Main Part and the MongoDB(GridFS) Component Part. Other Part no maintenance at this times. and the unit test not translate this time.
Those example codes on README-OLD.md are come from origin project. They should still work for Javascript user.
If you want a workable example for Typescript. Or you want see whats new feature i added to it.
Please see this .
Push Request always Welcome !
For developer
if you want to dev and build this project in local.
use follow code:
call yarn install
npm run build
and then use follow command to add this project as your project libs.
- npm
npm install --save ../tus-node-server
- yarn
yarn add ./../tus-node-server
and update it if you modified something and re-build it use npm run build
- npm
npm update ../tus-node-server
- yarn
yarn upgrade ./../tus-node-server
see stackoverflow : how-to-specify-local-modules-as-npm-package-dependencies