cgi-core
Version:
Minimalistic, zero-dependency wrapper for hosting CGI scripts with HTTP/1.1 support
59 lines (58 loc) • 1.44 kB
JSON
{
"name": "cgi-core",
"description": "Minimalistic, zero-dependency wrapper for hosting CGI scripts with HTTP/1.1 support",
"version": "1.0.1",
"homepage": "https://github.com/lfortin/node-cgi-core#readme",
"repository": {
"type": "git",
"url": "git://github.com/lfortin/node-cgi-core.git"
},
"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"
}
},
"bin": {
"cgi-server": "./bin/cgi-server.mjs"
},
"engines": {
"node": ">=18.15.0"
},
"devDependencies": {
"@types/node": "^22.5.1",
"cypress": "^14.0.0",
"express": "^4.21.1",
"mocha": "^11.0.1",
"nodemon": "^3.1.7",
"nyc": "^17.0.0",
"selfsigned": "^2.4.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",
"server",
"zero-dependency"
],
"license": "MIT"
}