{"library":"javascript-natural-sort","type":"library","category":null,"description":"The `javascript-natural-sort` package provides a comparator function implementing a natural sort algorithm, designed for use with JavaScript's `Array.prototype.sort()`. It intelligently handles various complex string patterns beyond simple lexicographical sorting, including numerical values (integers, floats, scientific notation), IP addresses, filenames, dates, and currency. The current stable version is `0.7.1`. Given its last update over six years ago, the package is considered abandoned and does not receive active maintenance or new feature development. Its key differentiator is its comprehensive approach to handling diverse data types within a single, self-contained sorting utility, offering a simple API for common sorting challenges where standard string comparison falls short, with an option for case-insensitive sorting.","language":"javascript","status":"abandoned","version":"0.7.1","tags":["javascript","natural","sort","array","sorting"],"last_verified":"Wed May 27","install":[{"cmd":"npm install javascript-natural-sort","imports":["import naturalSort from 'javascript-natural-sort';","const naturalSort = require('javascript-natural-sort');","naturalSort.insensitive = true;"]},{"cmd":"yarn add javascript-natural-sort","imports":[]},{"cmd":"pnpm add javascript-natural-sort","imports":[]}],"homepage":null,"github":"https://github.com/Bill4Time/javascript-natural-sort","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/javascript-natural-sort","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/javascript-natural-sort/compatibility"}}