UNPKG

tspace-spear

Version:

tspace-spear is a lightweight, high-performance API framework for Node.js that leverages the native HTTP server and supports uWebSockets.js (C++) for maximum speed and efficiency.

117 lines (116 loc) 3.57 kB
{ "name": "tspace-spear", "version": "1.2.9", "description": "tspace-spear is a lightweight, high-performance API framework for Node.js that leverages the native HTTP server and supports uWebSockets.js (C++) for maximum speed and efficiency.", "main": "./dist/lib/index.js", "types": "./dist/lib/index.d.ts", "files": [ "dist" ], "bin": { "spear": "./dist/cli/index.js" }, "type": "commonjs", "repository": { "type": "git", "url": "https://github.com/thanathip41/tspace-spear.git" }, "keywords": [ "tspace", "tspace-spear", "api", "rest api", "fast", "fast-api", "fast api", "low overhead", "http", "uWS", "uWebSockets", "uWebSockets.js" ], "author": "Thanathip (https://github.com/thanathip41)", "license": "MIT", "bugs": { "url": "https://github.com/thanathip41/tspace-spear" }, "homepage": "https://github.com/thanathip41", "scripts": { "build": "tsc", "prepare": "npm run build", "release": "sh ./release.sh", "beta": "npm run build && npm publish --tag beta", "bm:node": "npm run benchmark:node", "bm:bun": "npm run benchmark:bun", "benchmark:node": "npm run build && node benchmarks/tests/benchmark.node.js", "benchmark:bun": "npm run build && bun run benchmarks/tests/benchmark.bun.js", "load": "autocannon -c 100 -d 30 -p 10 localhost:5000", "test": "ts-mocha ./__tests__/**/*.test.ts --reporter spec --slow 0 --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=__tests-report__,reportFilename=errors.html,reportTitle=Unit-test --exit", "docs": "npx docsify-cli serve docs" }, "exports": { ".": { "types": "./dist/lib/index.d.ts", "import": "./dist/lib/index.js", "require": "./dist/lib/index.js" }, "./client": { "types": "./dist/lib/core/client/index.d.ts", "import": "./dist/lib/core/client/index.js", "require": "./dist/lib/core/client/index.js" } }, "engines": { "node": ">=14" }, "dependencies": { "busboy": "1.6.0", "fast-querystring": "1.1.2", "mime-types": "2.1.35", "on-finished": "2.4.1", "reflect-metadata": "0.2.2", "swagger-ui-dist": "5.32.0", "ts-morph": "28.0.0", "ws": "8.19.0", "xml2js": "0.6.2" }, "devDependencies": { "@elysiajs/node": "1.4.5", "@hono/node-server": "1.19.11", "@types/autocannon": "7.12.5", "@types/busboy": "1.5.4", "@types/chai": "4.3.11", "@types/chai-json-schema": "1.4.9", "@types/express": "4.17.21", "@types/mime-types": "2.1.4", "@types/mocha": "10.0.6", "@types/node": "16.18.126", "@types/node-fetch": "^2.6.13", "@types/on-finished": "2.3.4", "@types/swagger-ui-dist": "3.30.4", "@types/ws": "8.18.1", "@types/xml2js": "0.4.14", "0http": "4.4.0", "autocannon": "7.15.0", "chai": "4.3.10", "chai-json-schema": "1.5.1", "class-transformer": "0.5.1", "class-validator": "0.15.1", "docsify-cli": "4.4.4", "elysia": "1.4.28", "express": "4.19.2", "fastify": "4.28.1", "form-data": "4.0.5", "graphql": "16.14.0", "graphql-http": "1.22.4", "hono": "4.12.9", "mocha": "10.2.0", "mochawesome": "7.1.3", "node-fetch": "2.7.0", "ts-mocha": "10.0.0", "ts-node": "10.9.2", "typescript": "5.6.2", "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.63.0", "zod": "4.3.6" } }