UNPKG

file-streamer

Version:

A TypeScript package for streaming data as files (Excel, CSV, JSON, Base64) and streaming files from file system through HTTP responses

65 lines (64 loc) 1.45 kB
{ "name": "file-streamer", "version": "1.2.0", "description": "A TypeScript package for streaming data as files (Excel, CSV, JSON, Base64) and streaming files from file system through HTTP responses", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "build": "tsc", "dev": "ts-node src/index.ts", "watch": "tsc --watch", "prepublishOnly": "npm run build", "test": "jest" }, "keywords": [ "typescript", "file-streaming", "data-export", "excel", "csv", "json", "http-response", "buffer", "xlsx", "spreadsheet", "download", "streaming", "file-download", "data-streaming", "response-streaming", "file-generation", "base64", "file-system", "path-streaming", "mime-types", "static-files" ], "author": "Samit Kapoor", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/samitkapoor/file-streamer.git" }, "homepage": "https://github.com/samitkapoor/file-streamer#readme", "bugs": { "url": "https://github.com/samitkapoor/file-streamer/issues" }, "engines": { "node": ">=14" }, "dependencies": { "exceljs": "^4.4.0", "express": "^5.1.0" }, "devDependencies": { "@types/express": "^5.0.3", "@types/jest": "^30.0.0", "jest": "^30.0.4", "node-mocks-http": "^1.17.2", "ts-jest": "^29.4.0" } }