
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@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.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.