UNPKG

sync-request-curl

Version:

Fast way to send synchronous web requests in NodeJS. API is a subset of sync-request. Leverages node-libcurl for high performance. Cannot be used in a browser.

70 lines 1.88 kB
{ "name": "sync-request-curl", "repository": { "type": "git", "url": "https://github.com/nktnet1/sync-request-curl" }, "version": "3.1.0", "files": [ "dist" ], "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "keywords": [ "sync", "sync-request", "synchronous", "request", "fast", "quick", "speed", "performance", "http", "https", "curl", "libcurl", "node-libcurl", "comp1531" ], "author": "Khiet Tam Nguyen", "license": "MIT", "description": "Fast way to send synchronous web requests in NodeJS. API is a subset of sync-request. Leverages node-libcurl for high performance. Cannot be used in a browser.", "devDependencies": { "@types/body-parser": "^1.19.5", "@types/express": "^5.0.0", "@types/http-errors": "^2.0.4", "@types/jest": "^29.5.14", "@types/morgan": "^1.9.9", "@types/node": "^22.10.2", "@typescript-eslint/eslint-plugin": "^8.18.2", "@typescript-eslint/parser": "^8.18.2", "body-parser": "^1.20.3", "eslint": "^9.17.0", "eslint-plugin-jest": "^28.10.0", "express": "^4.21.2", "globals": "^15.14.0", "http-errors": "^2.0.0", "jest": "^29.7.0", "morgan": "^1.10.0", "sync-dev-server": "^1.0.4", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "ts-node-dev": "^2.0.0", "typescript": "^5.7.2" }, "dependencies": { "node-libcurl": "^4.1.0" }, "scripts": { "start": "ts-node tests/app/server", "dev": "ts-node-dev --watch tests/app tests/app/server", "test": "jest", "tc": "jest --coverage", "lint": "eslint './**/*.ts'", "lint:fix": "eslint --fix './**/*.ts'", "tsc": "tsc --noEmit", "build": "rm -rf dist && pnpm run build:esm && pnpm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module CommonJS --outDir dist/cjs" } }