UNPKG

body-parser-csv

Version:

CSV parser middleware for express.js

84 lines (83 loc) 2.37 kB
{ "name": "body-parser-csv", "version": "1.1.0", "description": "CSV parser middleware for express.js", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "prepublishOnly": "npx tsc", "build": "npx tsc", "build-watch": "npx tsc --watch --preserveWatchOutput", "test": "mocha --check-leaks --timeout 60000 -r ts-node/register --exit test/files/*.ts", "test-debug": "mocha --inspect-brk=9238 --check-leaks --timeout 60000 -r ts-node/register --exit test/files/*.ts", "code-coverage": "nyc mocha --check-leaks --timeout 60000 -r ts-node/register --exit test/files/*.ts", "tslint": "tslint -p .", "generate-docs": "npx typedoc --readme \"./README.MD\" --name \"Body Parser CSV\" --mode file --out docs/typedoc src" }, "repository": { "type": "git", "url": "https://gitlab.com/operator-ict/golemio/code/body-parser-csv.git" }, "keywords": [ "body", "parser", "csv", "bodyparsercsv", "bodyparser", "body-paser", "body-parser-csv" ], "author": "Operátor ICT, a.s.", "license": "MIT", "devDependencies": { "@types/body-parser": "^1.19.0", "@types/chai": "^4.2.14", "@types/express": "^4.17.1", "@types/mocha": "^8.2.0", "@types/node": "^12.6.8", "chai": "^4.2.0", "husky": "^4.3.6", "mocha": "^8.2.1", "nyc": "^15.1.0", "supertest": "^6.0.1", "ts-node": "^9.1.1", "tslint": "5.11.0", "typedoc": "^0.20.13", "typescript": "^4.1.3" }, "dependencies": { "body-parser": "^1.19.0", "express": "^4.17.1", "fast-csv": "^4.3.6", "stream": "^0.0.2" }, "nyc": { "check-coverage": true, "extension": [ ".ts", ".tsx" ], "exclude": [ "**/*.d.ts", "dist", "test/", "coverage", "docs", "node_modules" ], "reporter": [ "text", "lcov" ], "all": true, "lines": 0, "statements": 0, "functions": 0, "branches": 0 }, "husky": { "hooks": { "pre-commit": "npm run tslint" } } }