UNPKG

fast-string-compare

Version:

A (much) faster String.prototype.localeCompare

73 lines (72 loc) 1.73 kB
{ "name": "fast-string-compare", "version": "3.0.0", "description": "A (much) faster String.prototype.localeCompare", "author": "Gustaf Räntilä", "license": "MIT", "bugs": { "url": "https://github.com/grantila/fast-string-compare/issues" }, "homepage": "https://github.com/grantila/fast-string-compare#readme", "main": "./dist/index.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "sideEffects": false, "engines": { "node": "^14.13.1 || >=16.0.0" }, "files": [ "dist" ], "scripts": { "build": "rimraf dist && tsc -p tsconfig.prod.json", "test": "NODE_OPTIONS=--experimental-vm-modules jest --coverage", "benchmark": "ts-node benchmark", "cz": "git-cz" }, "repository": { "type": "git", "url": "https://github.com/grantila/fast-string-compare" }, "keywords": [ "fast", "string", "compare" ], "devDependencies": { "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@types/benchmark": "^2.1.2", "@types/bintrees": "^1.0.3", "@types/jest": "^29.4.0", "@types/node": "^18.11.18", "benchmark": "^2.1.4", "bintrees": "^1.0.2", "cz-conventional-changelog": "^3.3.0", "jest": "^29.4.1", "rimraf": "^4.1.2", "ts-node": "^10.9.1", "typescript": "^4.9.5" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "jest": { "testEnvironment": "node", "collectCoverageFrom": [ "<rootDir>/lib/**" ], "coverageReporters": [ "lcov", "text", "html" ], "extensionsToTreatAsEsm": [ ".ts" ] }, "packageManager": "yarn@3.2.4" }