Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

grid-sort

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grid-sort - npm Package Compare versions

Comparing version
2.1.1
to
2.1.3
+17
-2
package.json
{
"name": "grid-sort",
"version": "2.1.1",
"version": "2.1.3",
"description": "Sort objects in a two dimensional array to compose grids based on a condition",

@@ -11,3 +11,17 @@ "main": "./lib/index.js",

"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/luisadame/grid-sort.git"
},
"bugs": {
"url": "https://github.com/luisadame/grid-sort/issues"
},
"homepage": "https://github.com/luisadame/grid-sort",
"keywords": [
"grid",
"sorting",
"esm"
],
"devDependencies": {
"@types/node": "^16.7.1",
"c8": "^7.8.0",

@@ -26,4 +40,5 @@ "source-map-support": "^0.5.19",

"test": "node --loader ts-node/esm node_modules/uvu/bin.js ./tests",
"tsc": "tsc"
"tsc": "tsc",
"build-readme": "node --loader ts-node/esm scripts/optimizeReadme.ts"
}
}
+0
-7
<div align="center">
<br />
<img src="static/grid-sort.png" alt="grid sort" height="150">
<h1>Grid sort</h1>

@@ -29,5 +28,2 @@ <p>Sort array of objects or numbers into a grid where items are sorted from biggest to lowest</p>

<div align="center">
<img alt="Unsorted list of rectangles that contain a number representing the column space" src="static/unsorted-grid.png" />
</div>

@@ -46,5 +42,2 @@ ```javascript

<div align="center">
<img alt="Sorted list of rectangles that contain a number representing the column space they take on a grid, and they are layed out based on the algorithm above" src="static/sorted-grid.png"/>
</div>

@@ -51,0 +44,0 @@ ```javascript