
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@prof-dev/masonry
Advanced tools
A simple, easy-to-use solution for creating masonry-style grids with CSS Grid. This library checks for support of grid-template-rows: masonry in the browser. If unsupported, it automatically adjusts item placement to simulate a masonry layout.
It supports any grid-template-columns configuration and allows flexible use of @media queries to adjust column layouts.
Note: This polyfill does not implement any packing algorithms. The original order of items will be preserved.
npm i @prof-dev/masonry
.masonry-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, auto));
align-items: start;
gap: 12px;
}
const grid = document.querySelector(".masonry-grid");
if (grid !== null) {
new Masonry(grid);
}
FAQs
Unknown package
The npm package @prof-dev/masonry receives a total of 62 weekly downloads. As such, @prof-dev/masonry popularity was classified as not popular.
We found that @prof-dev/masonry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.