which-tachyons-module
v0.3.0
Published
Small module for finding the specific Tachyon modules you've used
Downloads
4
Readme
which-tachyons-module
Small module for finding the specific Tachyon modules you've used. When I build new things with Tachyons, I usually just use the CDN or include the base package. This works, but when I later want to cut down the CSS bundle size because I don't realistically use all of Tachyons it's tough figuring out exactly which modules I have used. This little command line tool helps with that.
Installation
npm install -g which-tachyons-module
Usage
which-tachyons-module takes a .html file as input and outputs the various Tachyons modules used in that .html file based on its classes.
$ wtm index.html
# Outputs e.g.
# tachyons-borders tachyons-border-widths tachyons-heights tachyons-spacing
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by which-tachyons-module (@br11x).
This package was initially generated with yeoman and the p generator.