UNPKG

compare-arrays-ignoring-order

Version:

This is a very simple library containing a function that allows you to compare arrays ignoring their order. This means that if two arrays have some elements mixed up, the function will return true.

45 lines (44 loc) 1.38 kB
{ "name": "compare-arrays-ignoring-order", "version": "1.11.0", "description": "This is a very simple library containing a function that allows you to compare arrays ignoring their order. This means that if two arrays have some elements mixed up, the function will return true.", "main": "./dist/index.js", "type": "commonjs", "types": "./dist/index.d.ts", "scripts": { "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch", "prepublishOnly": "npm run compile", "compile": "npm run clean && tsc -p .", "watch": "tsc -w -p .", "clean": "rm -rf dist" }, "repository": { "type": "git", "url": "git+https://github.com/AnatoliyAptukov/compare-arrays-ignoring-order.git" }, "keywords": [ "Array", "arrays", "compare", "ignore", "order" ], "author": "Anatoliy Aptukov", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/AnatoliyAptukov/compare-arrays-ignoring-order/issues" }, "homepage": "https://github.com/AnatoliyAptukov/compare-arrays-ignoring-order#readme", "devDependencies": { "@types/jest": "^29.5.12", "jest": "^29.7.0", "jest-cli": "^29.7.0", "tsup": "^8.2.4", "typescript": "^5.5.4" }, "files": [ "dist/index.js", "dist/index.d.ts" ] }