推荐理由：这个项目正如标题所说可以把各种各样的东西转化为 PDF 文档，只要你给出文档和样式表，它就能给你一个把原来的内容全部写进去的 PDF 文档，甚至你可以印个幻灯片。虽然它看起来很魔法，但是实际上并不算太复杂，把提供的文档和样式表转化成一个 HTML ，然后通过 Puppeteer 把 HTML 再转化成 PDF ，这里顺便附上它的链接。
After some research, I’ve gathered 11 of the finest libraries around to use in your app. I’ve also added a few more, mostly unmaintained, useful libraries.
When working with UI components, you can also use Bit to easily share these components between different apps instead of copy-pasting them, make changes from different projects and collaborate with your others.
Bit helps you share, discover and use code components between projects and applications to build new features and…bitsrc.io
Using Pure CSS
Before diving into these libraries, let’s not forget about using pure CSS. Why? because it’s standard, it can improve performance (GPU), provide backward and forward compatibility, and it just might be the most effective way to create animations. Here are 10 examples of neat pure CSS animations.
At over 43K stars, this popular library is a great way to create 3D animations on the browser, using WebGL in an intuitive way. Providing <canvas>, <svg>, CSS3D and WebGL renderers, this library lets us create rich interactive experiences across devices and browsers. First introduced at April 2010, the library is still being developed by nearly 1,000 contributors.
At 14K stars, this library is a motion graphics toolbelt for the web, with simple declarative APIs, cross-device compatibility and over 1500 unit-tests. You can move things around the DOME or SVG DOME or create unique mo.js objects. Although documentation is somewhat scarce, examples are plentiful and here’s an introduction at CSS tricks.
At 14K stars, this functional and reactive animation library weighs only 11kb. It allows developers to create animations and interactions from actions, which are streams of values that can be started and stopped, and created with CSS, SVG, React, three.js and any API that accepts a number as an input.
7. GreenSock JS
With 15K stars and zero dependencies, this library provides easy scroll animations for web and mobile browsers, to reveal things on-scroll in an animated way. It supports multiple neat types of effects, and even lets you define animations using natural language. Here’s a short SitePoint tutorial.
9. Hover (CSS)
Well, this is a CSS library. At 20K stars, Hover provides acollection of CSS3 powered hover effects to be applied to links, buttons, logos, SVG, featured images and more, available in CSS, Sass, and LESS. You can copy and paste the effect you’d like to use in your own stylesheet or reference the stylesheet.
Hover — A collection of CSS3 powered hover effects to be applied to links, buttons, logos, SVG, featured images and so…github.com
This 6K stars library basically lets you create typing animations for strings at selected speeds. You can also place an HTML
- Also check out: iTyped
Note that these 8 libraries are mostly unmaintained, so use with care.
loaders.css — Delightful, performance-focused pure css loading animations.github.com
- Parallax JS
parallax – Parallax Engine that reacts to the orientation of a smart devicegithub.com
- CTA JS
- Tooltips JS
- Pace JS