UNPKG

itertools

Version:

A JavaScript port of Python's awesome itertools standard library

74 lines (73 loc) 2.07 kB
{ "name": "itertools", "version": "2.6.0", "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": "release-it" }, "files": [ "dist/", "LICENSE", "README.md" ], "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@eslint/js": "^9.35.0", "@release-it/keep-a-changelog": "^7.0.1", "@vitest/coverage-istanbul": "^4.0.18", "eslint": "^9.35.0", "eslint-plugin-import": "^2.32.0", "eslint-plugin-simple-import-sort": "^12.1.1", "fast-check": "^4.5.3", "prettier": "^3.8.1", "publint": "^0.3.17", "release-it": "^19.2.4", "tsd": "^0.33.0", "tsup": "^8.5.1", "typescript": "^5.9.3", "typescript-eslint": "^8.56.1", "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.0.18" }, "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 }