UNPKG

node-libcurl-ja3

Version:

Node.js native bindings for libcurl-impersonate. Impersonate Chrome, Edge, Firefox and Safari TLS fingerprints.

139 lines (138 loc) 4.64 kB
{ "name": "node-libcurl-ja3", "version": "5.2.2", "description": "Node.js native bindings for libcurl-impersonate. Impersonate Chrome, Edge, Firefox and Safari TLS fingerprints.", "keywords": [ "boringssl", "curl", "curl-impersonate", "ja3", "libcurl", "libcurl-impersonate", "tls-fingerprinting", "web-scraping" ], "homepage": "https://github.com/andrewmackrodt/node-libcurl-ja3", "repository": { "type": "git", "url": "git://github.com/andrewmackrodt/node-libcurl-ja3.git" }, "license": "MIT", "author": "Andrew Mackrodt <andrewmackrodt@gmail.com>", "type": "commonjs", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "binding.gyp", "dist", "scripts", "src" ], "binary": { "module_name": "node_libcurl_ja3", "module_path": "./lib/binding/{configuration}/{node_abi}-{platform}-{arch}", "remote_path": "v{version}", "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz", "host": "https://github.com/andrewmackrodt/node-libcurl-ja3/releases/download" }, "scripts": { "ae": "api-extractor run --local --verbose", "brute-force-leak-test:run": "node --inspect --expose_gc -r ts-node/register ./tools/brute-force-leak-test.ts", "brute-force-leak-test:run:debug:gdb": "gdb --args node --inspect --expose_gc -r ts-node/register ./tools/brute-force-leak-test.ts", "brute-force-leak-test:server": "http-server ./tools/brute-force-server-static-folder -p 8080 -s", "build:dist": "tsc", "clean": "yarn clean:build && yarn clean:dist", "clean:build": "rimraf build", "clean:dist": "rimraf dist tsconfig.tsbuildinfo", "docs": "typedoc", "gen:compile_commands:debug": "yarn pregyp -- configure --debug -- --format=\"gyp.generator.compile_commands_json.py\"", "gen:compile_commands:release": "yarn pregyp -- configure --release -- --format=\"gyp.generator.compile_commands_json.py\"", "gen:constants": "node scripts/build-constants.js", "install": "scripts/install.sh", "postinstall": "node scripts/postinstall", "lint": "eslint lib/ scripts/ test/ examples/", "pregyp": "node-pre-gyp", "prepare": "husky", "prettier": "prettier --write", "prettier:all": "yarn prettier lib/**/*.ts tools/**/*.js scripts/**/*.js test/**/*.ts examples/**/*.js", "test": "vitest run --testTimeout=60000", "test:coverage": "yarn test --coverage.enabled=true", "test:watch": "vitest --testTimeout=60000", "preversion": "yarn lint && yarn clean:dist && yarn build:dist" }, "lint-staged": { "*.{cpp,cc,h}": [ "clang-format -style=file -i" ], "*.{ts,js}": [ "prettier", "eslint --fix" ], "package.json": [ "sort-package-json", "prettier" ] }, "dependencies": { "@mapbox/node-pre-gyp": "1.0.11", "env-paths": "2.2.0", "nan": "github:JCMais/nan#fix/electron-failures", "node-gyp": "10.2.0", "npmlog": "7.0.1", "rimraf": "5.0.5", "tslib": "2.6.2" }, "devDependencies": { "@commitlint/cli": "18.4.3", "@microsoft/api-documenter": "7.23.12", "@microsoft/api-extractor": "7.38.3", "@octokit/rest": "^20.0.2", "@types/body-parser": "1.19.5", "@types/cookie-parser": "1.4.8", "@types/express": "4.17.21", "@types/formidable": "3.4.5", "@types/node": "20.10.3", "@typescript-eslint/eslint-plugin": "6.13.1", "@typescript-eslint/parser": "6.13.1", "cheerio": "1.0.0-rc.3", "clang-format": "1.8.0", "cookie-parser": "1.4.7", "eslint": "8.55.0", "eslint-config-prettier": "9.1.0", "eslint-formatter-friendly": "7.0.0", "eslint-plugin-import": "2.29.0", "eslint-plugin-prettier": "5.0.1", "express": "4.21.2", "formidable": "3.5.2", "http-auth": "4.2.0", "http-auth-connect": "1.0.6", "husky": "9.1.7", "lint-staged": "15.2.0", "node-abi": "^3.71.0", "np": "9.2.0", "nyc": "15.1.0", "prettier": "3.1.0", "progress": "2.0.3", "sort-package-json": "2.6.0", "ts-node": "10.9.1", "tslint": "6.1.3", "tslint-config-airbnb": "5.11.2", "tslint-config-prettier": "1.18.0", "typedoc": "0.27.6", "typedoc-plugin-ga": "^1.0.4", "typedoc-plugin-nojekyll": "1.0.1", "typescript": "5.3.2", "vitest": "2.1.8" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", "engines": { "node": ">=20" }, "os": [ "darwin", "linux" ], "np": { "cleanup": false } }