UNPKG

itertools

Version:

A JavaScript port of Python's awesome itertools standard library

74 lines (73 loc) 2.14 kB
{ "name": "itertools", "version": "2.4.1", "description": "A JavaScript port of Python's awesome itertools standard library", "license": "MIT", "type": "module", "main": "./dist/index.cjs", "types": "./dist/index.d.cts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "module": "./dist/index.js", "default": "./dist/index.cjs" } } }, "scripts": { "build": "tsup", "format": "eslint --fix src/ test/ && prettier --write src/ test/", "lint": "npm run lint:eslint && npm run lint:prettier", "lint:eslint": "eslint --report-unused-disable-directives src/ test/", "lint:prettier": "prettier --list-different src/ test/", "lint:package": "publint --strict && attw --pack", "test": "vitest run --coverage", "test:types": "npm run build && tsd --typings ./dist/index.d.ts", "release": "npm run test && npm run lint && npm run build && npm run lint:package && release-it" }, "files": [ "dist/", "LICENSE", "README.md" ], "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@eslint/js": "^9.21.0", "@release-it/keep-a-changelog": "^6.0.0", "@vitest/coverage-istanbul": "^3.0.7", "eslint": "^9.21.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-simple-import-sort": "^12.1.1", "fast-check": "^3.23.2", "prettier": "^3.5.2", "publint": "^0.3.6", "release-it": "^18.1.2", "tsd": "^0.31.2", "tsup": "^8.3.6", "typescript": "^5.7.3", "typescript-eslint": "^8.25.0", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.0.7" }, "author": "Vincent Driessen", "repository": { "type": "git", "url": "git+https://github.com/nvie/itertools.git" }, "homepage": "https://github.com/nvie/itertools#readme", "bugs": { "url": "https://github.com/nvie/itertools/issues" }, "keywords": [ "itertool", "itertools", "node-itertools" ], "githubUrl": "https://github.com/nvie/itertools", "sideEffects": false }