UNPKG

bin-pack-with-constraints

Version:

A packing algorithm for 2D bin packing that allows setting a max width or height. Largely based on code and a blog post by Jake Gordon and Bryan Burgers.

34 lines (33 loc) 879 B
{ "name": "bin-pack-with-constraints", "version": "1.0.1", "description": "A packing algorithm for 2D bin packing that allows setting a max width or height. Largely based on code and a blog post by Jake Gordon and Bryan Burgers.", "author": { "name": "Enoch Riese", "email": "enoch.riese@gmail.com", "url": "https://github.com/eriese" }, "main": "index.js", "keywords": [ "bin", "rectangle", "square", "sprite", "pack" ], "license": "MIT", "homepage": "https://github.com/eriese/bin-pack-with-constraints", "bugs": { "url": "https://github.com/eriese/bin-pack-with-constraints/issues" }, "repository": { "type": "git", "url": "https://github.com/eriese/bin-pack-with-constraints.git" }, "devDependencies": { "mocha": "^10.2.0" }, "scripts": { "test": "node node_modules/mocha/bin/mocha" } }