UNPKG

sort-array

Version:

Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order

59 lines (58 loc) 1.41 kB
{ "name": "sort-array", "author": "Lloyd Brookes <75pound@gmail.com>", "version": "5.1.1", "description": "Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order", "repository": { "type": "git", "url": "git+https://github.com/75lb/sort-array.git" }, "license": "MIT", "type": "module", "exports": { "import": "./index.js", "require": "./dist/index.cjs" }, "keywords": [ "sort", "by", "array", "recordset", "objects", "sorted", "asc", "desc" ], "engines": { "node": ">=12.17" }, "scripts": { "test": "npm run dist && npm run test:ci", "test:ci": "75lb-nature test-runner test/defaults.js test/sort-computed-property.js test/sort-custom-order.js test/sort-falsy.js test/sort-primitives.js test/sort-small.js test/sort.js test/validation.js", "docs": "75lb-nature jsdoc2md -t README.hbs index.js -d 3 > README.md", "dist": "75lb-nature cjs-build index.js && 75lb-nature simple-rollup index.js" }, "dependencies": { "array-back": "^6.2.2", "typical": "^7.1.1" }, "peerDependencies": { "@75lb/nature": "^0.1.1" }, "peerDependenciesMeta": { "@75lb/nature": { "optional": true } }, "files": [ "dist", "index.js" ], "standard": { "ignore": [ "dist/", "tmp/", "test/" ] } }