UNPKG

send-stream

Version:

Streaming file serving library with Range and conditional-GET support from file system or any streaming sources.

94 lines (93 loc) 3.1 kB
{ "name": "send-stream", "description": "Streaming file serving library with Range and conditional-GET support from file system or any streaming sources.", "repository": "github:nicolashenry/send-stream", "version": "2.8.0", "keywords": [ "static", "file", "server", "send", "stream", "partial", "content", "206", "seek", "buffer", "range" ], "author": "Nicolas HENRY <icewil@gmail.com>", "devDependencies": { "@eslint/js": "9.29.0", "@istanbuljs/nyc-config-typescript": "1.0.2", "@regru/eslint-plugin-prefer-early-return": "1.0.0", "@stylistic/eslint-plugin": "5.0.0", "@types/compressible": "2.0.3", "@types/content-disposition": "0.5.9", "@types/express": "5.0.3", "@types/koa": "2.15.0", "@types/mime-types": "3.0.1", "@types/mocha": "10.0.10", "@types/range-parser": "1.2.7", "@types/supertest": "6.0.3", "byteranges": "1.1.0", "cross-env": "7.0.3", "eslint": "9.29.0", "eslint-find-rules": "5.0.0", "eslint-import-resolver-typescript": "4.4.4", "eslint-plugin-import": "2.32.0", "eslint-plugin-jsdoc": "51.2.3", "eslint-plugin-n": "17.20.0", "eslint-plugin-sonarjs": "3.0.4", "eslint-plugin-unicorn": "59.0.1", "express": "5.1.0", "fastify": "5.4.0", "globals": "16.2.0", "koa": "3.0.0", "memfs": "4.17.2", "mocha": "11.7.1", "mongodb": "6.17.0", "nyc": "17.1.0", "rimraf": "6.0.1", "supertest": "7.1.1", "ts-node": "10.9.2", "typescript": "5.8.3", "typescript-eslint": "8.35.0" }, "license": "MIT", "dependencies": { "@types/node": ">=18", "compressible": "^2.0.18", "content-disposition": "^0.5.4", "mime-types": "^3.0.1", "range-parser": "^1.2.1", "tslib": ">=2.1.0" }, "scripts": { "clean": "rimraf dist", "build": "tsc -b", "clean-build": "npm run clean && npm run build", "watch": "tsc -b -w", "prepublishOnly": "npm run test && npm run lint", "prepack": "npm run clean-build", "lint": "eslint . --max-warnings 0 --report-unused-disable-directives", "lint-fix": "eslint . --max-warnings 0 --report-unused-disable-directives --fix", "test-no-coverage": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha test/*.spec.ts", "test": "cross-env TS_NODE_PROJECT=test/tsconfig.json nyc mocha test/*.spec.ts", "test-stop": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha -b test/*.spec.ts", "ci": "npm run build && npm run test && npm run lint && npm run eslint-find-unused-rules", "clean-ci": "npm run clean && npm run build && npm run test && npm run lint && npm run eslint-find-unused-rules", "eslint-find-unused-rules": "eslint-find-rules -u eslint.config.mjs --flatConfig --ext .ts", "eslint-deprecated-rules": "eslint-find-rules -d eslint.config.mjs --flatConfig --ext .ts" }, "main": "dist/src/send-stream.js", "typings": "dist/src/send-stream.d.ts", "files": [ "dist/src/*.js", "dist/src/*.js.map", "dist/src/*.d.ts" ], "engines": { "node": ">=18.12.0" } }