{"id":16346609,"url":"https://github.com/matype/css-utilify","last_synced_at":"2025-08-02T15:08:56.334Z","repository":{"id":32219066,"uuid":"35792993","full_name":"matype/css-utilify","owner":"matype","description":"Add `@base` annotations to the rules","archived":false,"fork":false,"pushed_at":"2015-07-01T03:27:10.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-18T17:40:49.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matype.png","metadata":{"files":{"readme":"readme.markdown","changelog":"changelog.markdown","contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-18T02:39:21.000Z","updated_at":"2015-06-30T08:07:00.000Z","dependencies_parsed_at":"2022-08-29T01:40:18.121Z","dependency_job_id":null,"html_url":"https://github.com/matype/css-utilify","commit_stats":null,"previous_names":["morishitter/css-utilify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matype/css-utilify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-utilify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-utilify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-utilify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-utilify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matype","download_url":"https://codeload.github.com/matype/css-utilify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-utilify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268408197,"owners_count":24245577,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T00:35:46.349Z","updated_at":"2025-08-02T15:08:56.315Z","avatar_url":"https://github.com/matype.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css-utilify [![Build Status](https://travis-ci.org/morishitter/css-utilify.svg)](https://travis-ci.org/morishitter/css-utilify)\n\nAdd `@base` annotations to the rules.\n\nUsing with [AtCSS](https://github.com/morishitter/atcss) or [postcss-include](https://github.com/morishitter/postcss-include).\n\n## Install\n\n```shell\n$ npm install css-utilify\n```\n\n## Usage\n\n### CLI\n\n```\n$ css-utilify input-file (output-file-name)\n```\n\nDefault `output-file-name` is `input-file.base.css`.\n\n### in PostCSS\n\n```js\nvar fs = require('fs')\nvar postcss = require('postcss')\nvar utilify = require('postcss-utilify')\n\nvar css = fs.readFileSync('input.css', 'utf-8')\n\nvar output = postcss(css)\n  .use(utilify)\n  .process(css)\n  .css\n```\n\nUsing this `input.css`:\n\n```css\n.fl {\n  float: left;\n}\n\n.pdt-10 {\n  padding-top: 10px;\n}\n```\n\nYou will get:\n\n```css\n.fl {\n  /* @base */\n  float: left;\n}\n\n.pdt-10 {\n  /* @base */\n  padding-top: 10px;\n}\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Masaaki Morishita\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fcss-utilify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatype%2Fcss-utilify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fcss-utilify/lists"}