UNPKG

cgi-core

Version:

Lightweight, zero-dependency middleware for hosting CGI scripts with HTTP/1.1 support

66 lines (65 loc) 1.62 kB
{ "name": "cgi-core", "description": "Lightweight, zero-dependency middleware for hosting CGI scripts with HTTP/1.1 support", "version": "1.2.2", "homepage": "https://lfortin.github.io/cgi-core", "repository": { "type": "git", "url": "git://github.com/lfortin/node-cgi-core.git" }, "bugs": { "url": "https://github.com/lfortin/node-cgi-core/issues" }, "author": { "name": "Laurent Fortin", "email": "laurent.fortin@gmail.com", "url": "http://lfortin.github.io" }, "main": "./cgi-core.js", "type": "commonjs", "types": "./cgi-core.d.ts", "exports": { ".": { "import": "./cgi-core.mjs", "require": "./cgi-core.js", "types": "./cgi-core.d.ts" } }, "bin": { "cgi-server": "./bin/cgi-server.mjs" }, "engines": { "node": ">=18.15.0" }, "devDependencies": { "@types/express": "^4.17.23", "@types/mocha": "^10.0.10", "@types/node": "^22.5.1", "cypress": "^15.0.0", "express": "^4.21.1", "mocha": "^11.0.1", "nodemon": "^3.1.7", "nyc": "^17.0.0", "selfsigned": "^3.0.1" }, "scripts": { "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/**/*.js", "cy:open": "cypress open", "cy:run": "cypress run --e2e --headless --browser electron", "prepublishOnly": "npm test && npm run cy:run", "start": "nodemon --delay 1 server/http.mjs", "test": "mocha test/**/*.js" }, "keywords": [ "cgi", "cgi-bin", "cgi-server", "http", "http-server", "middleware", "rfc3875", "server", "zero-dependency" ], "license": "MIT" }