
Security News
6 AppSec CTOs Debate Open Source Supply Chain Security at Black Hat
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.
@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.
The npm package @strata-packages/flipbook receives a total of 6 weekly downloads. As such, @strata-packages/flipbook popularity was classified as not popular.
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
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.

Research
/Security News
Thirteen malicious Packagist themes expose visitors on unpatched iPhones to a WebKit-to-kernel exploit chain that steals device data and wallet seeds.

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