# sacados

> A module to pack boxes into a 2D space

Latest version **1.0.1** (published 2015-01-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install sacados
pnpm add sacados
yarn add sacados
bun add sacados
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-01-01 |
| First published | 2014-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Paul Fournel |
| Maintainers | paulfournel |

## Links

- npm: https://www.npmjs.com/package/sacados
- npm.io page: https://npm.io/package/sacados

## Recent versions

- 1.0.1 (latest) — 2015-01-01
- 1.0.0 — 2014-12-29

## README

backpack
========

A node module to pack boxes into a 2D space

Example:

```
var BackPack = require("sacados");

var boxes = [];
for(var i = 0; i<20; i++){
    var width = Math.floor(Math.random() * (20 - 5 + 1)) + 5;
    var height = Math.floor(Math.random() * (20 - 5 + 1)) + 5;
    boxes.push({'id': i, 'width': width, 'height': height});
}

backPack = new BackPack(40, 10000);
```

---
_Source: https://npm.io/package/sacados · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
