atf
Version:
atf (above-the-fold) prints out above-the-fold css for whatever site you want.
33 lines (19 loc) • 865 B
Markdown
atf (above-the-fold) prints out above-the-fold css for whatever site you want.
PS: Don't work yet for styles loaded under SSL ¯\_(ツ)_/¯.
It uses the CriticalCSS snippet from Paul Kinlan with some tiny modifications on top of PhantomJS.
## Install
```sh
$ npm install --global atf
```
## Usage
```sh
$ atf --help
```
## License
MIT © [Cleber Dantas](http://www.cleberdantas.com)
[npm-url]: https://npmjs.org/package/above-the-fold-phantomjs
[npm-image]: https://badge.fury.io/js/above-the-fold-phantomjs.svg
[travis-url]: https://travis-ci.org/cleberdantas/above-the-fold-phantomjs
[travis-image]: https://travis-ci.org/cleberdantas/above-the-fold-phantomjs.svg?branch=master
[daviddm-url]: https://david-dm.org/cleberdantas/above-the-fold-phantomjs.svg?theme=shields.io
[daviddm-image]: https://david-dm.org/cleberdantas/above-the-fold-phantomjs