0.3.0 • Published 7 years ago

which-tachyons-module v0.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

which-tachyons-module Build Status js-standard-style

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by which-tachyons-module (@br11x).


This package was initially generated with yeoman and the p generator.