{"_id":"alphanum-sort","maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"keywords":["sort","alphanum","alphanumeric","natural","human"],"dist-tags":{"latest":"1.0.2"},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"description":"Alphanumeric sorting algorithm","readme":"# alphanum-sort\r\n[![Build Status](https://travis-ci.org/TrySound/alphanum-sort.svg?branch=master)](https://travis-ci.org/TrySound/alphanum-sort)\r\n\r\n> Alphanumeric sorting algorithm\r\n\r\n## Install\r\n\r\nWith [npm](https://npmjs.org/package/alphanum-sort) do:\r\n\r\n```\r\nnpm i alphanum-sort -S\r\n```\r\n\r\n## Example\r\n\r\n```js\r\nvar sort = require('alphanum-sort');\r\n\r\nvar result = sort(['item20', 'item19', 'item1', 'item10', 'item2']);\r\n// ['item1', 'item2', 'item10', 'item19', 'item20']\r\n```\r\n\r\n## API\r\n\r\n### alphanumSort(array, options)\r\n\r\n#### options\r\n\r\n##### insensitive\r\n\r\nType: `Boolean`\r\nDefault: `false`\r\n\r\nCompares items case insensitively\r\n\r\n##### sign\r\n\r\nType: `Boolean`\r\nDefault: `false`\r\n\r\nAllows `+` and `-` characters before numbers\r\n\r\n## License\r\n\r\nMIT © [Bogdan Chadkin](https://github.com/trysound)\r\n","repository":{"type":"git","url":"https://github.com/TrySound/alphanum-sort.git"},"users":{"ts-web":true,"rochejul":true},"bugs":{"url":"https://github.com/TrySound/alphanum-sort/issues"},"license":"MIT","versions":{"1.0.0":{"name":"alphanum-sort","version":"1.0.0","description":"Alphanumeric sorting algorithm","main":"lib/index.js","files":["lib"],"devDependencies":{"eslint":"^1.5.1","javascript-natural-sort":"^0.7.1","tap-spec":"^4.1.0","tape":"^4.2.0"},"scripts":{"test":"eslint lib test.js && tape test.js | tap-spec"},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","repository":{"type":"git","url":"https://github.com/TrySound/alphanum-sort.git"},"bugs":{"url":"https://github.com/TrySound/alphanum-sort/issues"},"homepage":"https://github.com/TrySound/alphanum-sort","keywords":["sort","alphanum","alphanumeric","natural","human"],"gitHead":"006772549df6763f415e3578d9fa54d74b4a9445","_id":"alphanum-sort@1.0.0","_shasum":"df2c1e0c6406487bedc2f707eed25f9cd0f09e66","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"df2c1e0c6406487bedc2f707eed25f9cd0f09e66","tarball":"https://devel.data-in-motion.biz/nexus/repository/npm-group/alphanum-sort/-/alphanum-sort-1.0.0.tgz","integrity":"sha512-ZFYPnjuuJcYC7kca2ernspt497c4mX7nhvHwebm+JD/b6UO4H4C5xbndpf8zm7e9T7sVaRwydqT+N3rVZXtTJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa9iPrw4mRzKB7RyDepVmX/hxuVrHFg/D6dFFBdTYyKAIgV6ZsC/W4067c0pz5eSPyR/D+gzxhZN1dhBv067FEdRQ="}]}},"1.0.1":{"name":"alphanum-sort","version":"1.0.1","description":"Alphanumeric sorting algorithm","main":"lib/index.js","files":["lib"],"devDependencies":{"eslint":"^1.5.1","javascript-natural-sort":"^0.7.1","tap-spec":"^4.1.0","tape":"^4.2.0"},"scripts":{"test":"eslint lib test.js && tape test.js | tap-spec"},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","repository":{"type":"git","url":"https://github.com/TrySound/alphanum-sort.git"},"bugs":{"url":"https://github.com/TrySound/alphanum-sort/issues"},"homepage":"https://github.com/TrySound/alphanum-sort","keywords":["sort","alphanum","alphanumeric","natural","human"],"gitHead":"bf64cac9d67d157d358812dac6336ba98af090a9","_id":"alphanum-sort@1.0.1","_shasum":"571cdf3a955a3e92346860e9f08e5e5de503bf69","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"571cdf3a955a3e92346860e9f08e5e5de503bf69","tarball":"https://devel.data-in-motion.biz/nexus/repository/npm-group/alphanum-sort/-/alphanum-sort-1.0.1.tgz","integrity":"sha512-UCwC1fE4FSPl3i9DsElkSmWNG97KBE2ZKzOjWihNkMRVEqKNb3yIreJNkNj2Jv6P399mDNXrHqm5p/aAN6bpVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3v5pqrBwB4TCXSv4n3bI4zzxsONWywvwUnh4Rux8MKAIgOx2BnNYn5KWSCLVtLD6h2FHO5jnUVCrSC0akC7etosQ="}]}},"1.0.2":{"name":"alphanum-sort","version":"1.0.2","description":"Alphanumeric sorting algorithm","main":"lib/index.js","files":["lib"],"devDependencies":{"eslint":"^1.5.1","javascript-natural-sort":"^0.7.1","tap-spec":"^4.1.0","tape":"^4.2.0"},"scripts":{"test":"eslint lib test.js && tape test.js | tap-spec"},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","repository":{"type":"git","url":"https://github.com/TrySound/alphanum-sort.git"},"bugs":{"url":"https://github.com/TrySound/alphanum-sort/issues"},"homepage":"https://github.com/TrySound/alphanum-sort","keywords":["sort","alphanum","alphanumeric","natural","human"],"gitHead":"c91a8ad765d3adacf4a7186637ad6f39cad540f6","_id":"alphanum-sort@1.0.2","_shasum":"97a1119649b211ad33691d9f9f486a8ec9fbe0a3","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"97a1119649b211ad33691d9f9f486a8ec9fbe0a3","tarball":"https://devel.data-in-motion.biz/nexus/repository/npm-group/alphanum-sort/-/alphanum-sort-1.0.2.tgz","integrity":"sha512-0FcBfdcmaumGPQ0qPn7Q5qTgz/ooXgIyp1rf8ik5bGX8mpE2YHjC0P/eyQvxu1GURYQgq9ozf2mteQ5ZD9YiyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAijYMMAk3TZdNDkfbjAN43mC7P/2b39Et01pdxiopLLAiBAQR3sAivsa6IZw3PcmyV1cE3c8dxwbutB8xMSjXNI3g=="}]}}},"name":"alphanum-sort","time":{"created":"2015-09-27T00:12:28.223Z","modified":"2025-05-13T10:35:19.717Z","1.0.0":"2015-09-27T00:12:28.223Z","1.0.1":"2015-09-27T14:18:35.765Z","1.0.2":"2015-10-03T20:12:49.185Z"},"readmeFilename":"README.md","homepage":"https://github.com/TrySound/alphanum-sort"}