{"id":21206684,"url":"https://github.com/oncomouse/extract-tachyons","last_synced_at":"2026-05-21T04:04:32.020Z","repository":{"id":40799163,"uuid":"144749866","full_name":"oncomouse/extract-tachyons","owner":"oncomouse","description":"Accelerate your Tachyons websites! Read HTML files, extract a list of CSS classes, and create a custom distribution of Tachyons with only the classes you are actually using.","archived":false,"fork":false,"pushed_at":"2022-12-09T10:42:06.000Z","size":347,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T15:48:49.441Z","etag":null,"topics":["postcss","tachyons","tachyons-css"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oncomouse.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-14T17:08:54.000Z","updated_at":"2020-07-21T23:01:16.000Z","dependencies_parsed_at":"2023-01-25T13:05:11.467Z","dependency_job_id":null,"html_url":"https://github.com/oncomouse/extract-tachyons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fextract-tachyons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fextract-tachyons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fextract-tachyons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fextract-tachyons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oncomouse","download_url":"https://codeload.github.com/oncomouse/extract-tachyons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658778,"owners_count":20326564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postcss","tachyons","tachyons-css"],"created_at":"2024-11-20T20:56:29.458Z","updated_at":"2026-05-21T04:04:26.983Z","avatar_url":"https://github.com/oncomouse.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extract Tachyons\n\nBuild the custom [Tachyons](http://tachyons.io/) that *your project* needs!\n\nTachyons is an amazing system of functional CSS classes, and even though it's extremely focused, the whole package still adds ~14KB of gzipped CSS to a project. Wouldn't it be nice to have a custom Tachyons bundle that only uses the classes your project is actually using?\n\nEnter **Extract Tachyons**.\n\nExtract Tachyons is a command line tool that reads HTML files, extracts the CSS classes in them, and builds a custom Tachyons file that only contains the classes you are actually using. Processing your files this way will *dramatically* reduce file sizes in projects that use Tachyons!\n\n## Installation\n\nTo install, run `yarn add -D @oncomouse/extract-tachyons` or `npm install -D @oncomouse/extract-tachyons` in a Node.js project.\n\n## Usage\n\nFrom the command line: `npx extract-tachyons [--compress] [--output \u003cfile\u003e] build/**/*.html`\n\n* `--compress` will shrink the output with [CSSNano](https://cssnano.co/).\n* `--output \u003cfile\u003e` will write the output to `\u003cfile\u003e` (default is to print to STDOUT)\n* `--always \u003clist\u003e` will always include the classes in `\u003clist\u003e`\n\t* `\u003clist\u003e` is comma separated: `black,hover-black` or `orange, ms-3`\n* `--never \u003clist\u003e` will never include the classes in `\u003clist\u003e`\n\t* `\u003clist\u003e` is comma separated: `black,hover-black` or `orange, ms-3`\n\n## Note\n\nIt's probably a good idea to only use the output of Extract Tachyons in production. You never know when you will need to add new classes to your project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foncomouse%2Fextract-tachyons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foncomouse%2Fextract-tachyons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foncomouse%2Fextract-tachyons/lists"}