
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@strata-packages/flipbook
Advanced tools
PDF and HTML flipbook viewer with page-flip animation. Works standalone or with Strata CSS.
CSS-driven flipbook with organic page-flip animation. Renders HTML pages or PDFs. Drag to flip, sounds, 6 presets, responsive.
<link rel="stylesheet" href="flipbook.css">
<script src="flipbook.js"></script>
<!-- Zero-config: existing children become pages -->
<div id="book">
<div>Page 1</div>
<div>Page 2</div>
</div>
<script>StrataFlipbook('#book')</script>
Or pass content explicitly:
<div id="book"></div>
<script>
StrataFlipbook('#book', {
content: '.my-pages', // selector, NodeList, or Element[]
preset: 'magazine',
pagination: 'dots',
drag: true,
exportable: true,
sound: { enabled: true },
})
</script>
<script>pdfjsLib.GlobalWorkerOptions.workerSrc = '...'</script>
<div id="book"></div>
<script>
StrataFlipbook('#book', { source: 'pdf', content: '/doc.pdf' })
</script>
notebook (default) · magazine · paperback · hardcover · comic · minimal
controls (default) · dots · input · thumbnails · none · or array e.g. ['controls', 'dots']
| Package | When needed |
|---|---|
pdfjs-dist | source: 'pdf' |
html2canvas | Export HTML source to PDF |
pdf-lib | Any PDF export |
All MIT or Apache-2.0. None inject inline styles or JS.
See CLAUDE.md for full API reference.
FAQs
PDF and HTML flipbook viewer with page-flip animation. Works standalone or with Strata CSS.
We found that @strata-packages/flipbook 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.