Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

potpack

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

potpack - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js
(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>
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc