{"id":16346612,"url":"https://github.com/matype/postcss-annotation-include","last_synced_at":"2025-10-26T01:31:52.456Z","repository":{"id":24539748,"uuid":"27946283","full_name":"matype/postcss-annotation-include","owner":"matype","description":"PostCSS plugin for annotations based including properties in other rule sets","archived":false,"fork":false,"pushed_at":"2015-09-16T11:15:46.000Z","size":221,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T01:47:43.401Z","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":"yucccc/vue-mall","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matype.png","metadata":{"files":{"readme":"readme.markdown","changelog":null,"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":"2014-12-13T02:13:42.000Z","updated_at":"2016-02-17T00:31:57.000Z","dependencies_parsed_at":"2022-08-23T14:31:14.358Z","dependency_job_id":null,"html_url":"https://github.com/matype/postcss-annotation-include","commit_stats":null,"previous_names":["morishitter/postcss-include","matype/postcss-annotation-include","masaakim/postcss-annotation-include"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matype/postcss-annotation-include","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-annotation-include","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-annotation-include/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-annotation-include/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-annotation-include/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matype","download_url":"https://codeload.github.com/matype/postcss-annotation-include/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-annotation-include/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281047798,"owners_count":26435124,"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-10-25T02:00:06.499Z","response_time":81,"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.535Z","updated_at":"2025-10-26T01:31:52.156Z","avatar_url":"https://github.com/matype.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-annotation-include [![Build Status](https://travis-ci.org/morishitter/postcss-annotation-include.svg)](https://travis-ci.org/morishitter/postcss-annotation-include)\n\nPostCSS plugin for annotations based including properties in other rule sets.\n\nUsing this plugin, can use inline expanding property declarations of other rules by `@include`.\n\n## Installation\n\n```shell\n$ npm install postcss-annotation-include\n```\n\n## Example\n\n```js\nvar fs = require('fs')\nvar postcss = require('postcss')\nvar include = require('postcss-annotation-include')\n\nvar css = fs.readFileSync('input.css', 'utf-8')\n\nvar output = postcss(css)\n  .use(include())\n  .process(css)\n  .css\n```\n\nUsing this `input.css`:\n\n```css\n.base-1 {\n  /*\n   * @base\n   */\n  color: red;\n}\n\n.base-2 {\n  /*\n   * @base\n   */\n  padding: 10px;\n}\n\n.foo {\n  /*\n   * @include .base-1, .base-2\n   */\n  font-size: 12px;\n}\n```\n\nYou will get:\n\n```css\n.foo {\n  /*\n   * @include .base-1, .base-2\n   */\n  font-size: 12px;\n  color: red;\n  padding: 10px;\n}\n```\n\n## Options\n\n### `options.css`\nSet your original CSS file. Default parameter is `root` object of PostCSS.\n\n### `options.removeBase`\nThe flag wheather remove `@base` rules. Default parameter is `true`.\n\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Masaaki Morishita\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fpostcss-annotation-include","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatype%2Fpostcss-annotation-include","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fpostcss-annotation-include/lists"}