UNPKG

@dpaskhin/unique

Version:

Ensures unique values by rejecting duplicates.

65 lines (64 loc) 1.68 kB
{ "name": "@dpaskhin/unique", "version": "1.0.0", "description": "Ensures unique values by rejecting duplicates.", "keywords": [ "uniqueness", "deduplication", "retry", "filtering", "generation" ], "files": [ "lib" ], "main": "./lib/index.js", "exports": { "./package.json": "./package.json", ".": { "import": "./lib/index.js", "default": "./lib/index.cjs" } }, "types": "./lib/index.d.ts", "sideEffects": false, "homepage": "https://github.com/dPaskhin/unique", "bugs": { "url": "https://github.com/dPaskhin/unique/issues" }, "author": "Dmitrii Paskhin <d.pasxin@gmail.com>", "repository": { "type": "git", "url": "git+https://github.com/dPaskhin/unique.git" }, "type": "module", "license": "MIT", "scripts": { "build": "tsup", "ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test-coverage && npm run type-test", "format": "prettier --write .", "test": "vitest run", "test-coverage": "vitest run --coverage", "type-test": "tsd", "lint": "tsc", "check-format": "prettier --check .", "check-exports": "attw --pack .", "local-release": "changeset version && changeset publish", "prepublishOnly": "npm run ci" }, "devDependencies": { "@arethetypeswrong/cli": "^0.16.4", "@changesets/cli": "^2.27.8", "@faker-js/faker": "^9.0.3", "@vitest/coverage-v8": "^2.1.1", "prettier": "^3.3.3", "terser": "^5.34.1", "tsd": "^0.31.2", "tsup": "^8.3.0", "typescript": "^5.6.2", "vitest": "^2.1.1" }, "tsd": { "directory": "./src/test/types" } }