
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@iplatformglobal/array-multi-sort
Advanced tools
Array helper for soring array object on multiple key values with ordering
Array helper for soring array object on multiple key values with ordering
yarn add @iplatformglobal/array-multi-sort or
or
npm install @iplatformglobal/array-multi-sort
Sorts an array against keys with defined order direction
// Data to be sorted
const data = [{
id: 1,
name: 'Tester',
age: 20,
}, {
id: 1,
name: 'Taster',
age: 21,
}, {
id: 1,
name: 'Tester',
age: 21,
}];
// Instructions for how to sort the data
const sortColumns = [{
key: 'name',
direction: 'ASC',
}];
arrayMultiSort(data, sortColumns)
Testing is handled by Jest
and the packages has the following commands setup
yarn test
yarn test:watch
All contributions are welcome, and can be done by cloning the repo and running yarn install
.
Ensure that there are no errors in the tests or linter and ensure that your commit messages comply to the following format:
There are git hooks configured to ensure commit message format as well as test and linter compliance.
Discover the release history by heading on over to the releases page.
Unless stated otherwise all works are:
and licensed under:
FAQs
Array helper for soring array object on multiple key values with ordering
We found that @iplatformglobal/array-multi-sort demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.