UNPKG

ropool

Version:

A simple and efficient object pool for JavaScript and TypeScript.

85 lines (84 loc) 2.72 kB
{ "name": "ropool", "version": "1.0.4", "description": "A simple and efficient object pool for JavaScript and TypeScript.", "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "rollup -c --bundleConfigAsCjs", "dev": "rollup -c -w --bundleConfigAsCjs", "lint": "eslint \"src/**/*.ts\"", "lint:fix": "eslint \"src/**/*.ts\" --fix", "format": "prettier --write \"src/**/*.ts\" \"*.{js,json,md}\"", "benchmark": "node --experimental-specifier-resolution=node --loader ts-node/esm --require tsconfig-paths/register __benchmark__/runner.ts", "benchmark:mark": "node --inspect-brk --experimental-specifier-resolution=node --loader ts-node/esm --require tsconfig-paths/register __benchmark__/runner.ts", "test": "vitest run", "test:watch": "vitest", "coverage": "vitest run --coverage", "prepublishOnly": "npm run lint && npm run test && npm run build", "doc": "(npx kill-port 8080 || true) && typedoc", "doc:watch": "typedoc --watch", "doc:serve": "(npx kill-port 8080 || true) && cd docs && http-server .", "docs": "npm run doc && npm run doc:serve" }, "keywords": [ "object-pool", "pooling", "memory-management", "performance", "typescript", "utility" ], "author": "Edho Fiko <edho08@gmail.com>", "license": "GPL-3.0-or-later", "repository": { "type": "git", "url": "https://github.com/edho08/rpool.git" }, "bugs": { "url": "https://github.com/edho08/rpool/issues" }, "homepage": "https://github.com/edho08/rpool#readme", "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/benchmark": "^2.1.5", "@types/node": "^24.0.1", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.34.0", "@vitest/coverage-v8": "^3.2.3", "benchmark": "^2.1.4", "eslint": "^9.28.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.4.1", "glob": "^11.0.3", "globals": "^16.2.0", "prettier": "^3.5.3", "rollup": "^4.43.0", "rollup-plugin-dts": "^6.2.1", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "tslib": "^2.8.1", "typedoc": "^0.28.5", "typescript": "^5.8.3", "typescript-eslint": "^8.34.0", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.3" } }