Comparing version 1.0.0 to 1.0.1
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(global.Flatbush = factory()); | ||
(global.potpack = factory()); | ||
}(this, (function () { 'use strict'; | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "potpack", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A tiny library for packing 2D rectangles (for sprite layouts)", | ||
@@ -5,0 +5,0 @@ "main": "index", |
@@ -35,1 +35,19 @@ # potpack | ||
``` | ||
## Install | ||
Install with NPM (`npm install potpack`) or Yarn (`yarn add potpack`), then: | ||
```js | ||
// import as an ES module | ||
import potpack from 'potpack'; | ||
// or require in Node / Browserify | ||
const potpack = require('potpack'); | ||
``` | ||
Or use a browser build directly: | ||
```html | ||
<script src="https://unpkg.com/potpack@1.0.0/index.js"></script> | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10098
53