UNPKG

arr-helper-functions

Version:

Misc. functions for finding elements in arrays, sorting, and more

75 lines 2 kB
{ "version": "2.1.1", "name": "arr-helper-functions", "description": "Misc. functions for finding elements in arrays, sorting, and more", "author": "Alberto Rico", "keywords": [ "array", "search", "multiple", "helper" ], "repository": { "url": "https://github.com/alrico88/arr-helper-functions" }, "license": "MIT", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" } }, "files": [ "dist", "src" ], "engines": { "node": ">=16" }, "husky": { "hooks": { "pre-commit": "vitest run" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.5.0", "@typescript-eslint/parser": "^6.5.0", "c8": "^8.0.1", "coveralls": "^3.1.1", "eslint": "^8.48.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.28.1", "husky": "^8.0.3", "tslib": "^2.6.2", "tsup": "^7.2.0", "typedoc": "^0.25.0", "typedoc-plugin-markdown": "^3.16.0", "typescript": "^5.2.2", "vitest": "^0.34.3" }, "dependencies": { "array-types-counter": "^1.0.1" }, "scripts": { "dev": "pnpm run build -- --watch src", "build": "tsup src/index.ts --format cjs,esm --dts --clean", "test": "vitest run", "coverage": "vitest run --coverage", "lint": "eslint --cache --fix --ignore-path .gitignore --ext .ts,.js src", "prepublish": "pnpm run build", "coveralls": "vitest run --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "docs": "typedoc --plugin typedoc-plugin-markdown src/index.ts --readme README.md --gitRevision master" } }