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

layout-bin-packer

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

layout-bin-packer

This library provides the algorithms a list or grid rendering implementation would need for efficient placement of incrementally rendered elements.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.1K
increased by13.66%
Maintainers
6
Weekly downloads
 
Created
Source

Layout Bin Packer CI

This library provides the algorithms a list or grid rendering implementation would need for efficient placement of incrementally rendered elements.

Included Algorithms

  • SHELF-NF (shelf next fit): for rendering elements whos dimensions vary, but are known ahead of time.
  • Fixed: for rendering elements whos dimensions do not vary but are known ahead of time.

What about my favorite Algorithm?

If you favorite Algorithm can be implemented as a subclass of https://github.com/stefanpenner/layout-bin-packer/blob/master/lib/layout-bin-packer/bin.js we would love to consider a PR adding it to our collection.

Can this library run in my favorite enviroment? If that environment runs modern JavaScript, then most likely yes. Officially the library only runs tests on Node.js and Browser, but given it's implementation it should work work (or easily be made to work) in other JavaScript environments... But let us know!

Developing
  • yarn build build project
  • yarn test run tests
  • yarn test:browser run tests in browser

Keywords

FAQs

Package last updated on 23 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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