{"id":20638576,"url":"https://github.com/fengyuanchen/postcss-header","last_synced_at":"2025-04-15T21:52:44.856Z","repository":{"id":57328067,"uuid":"106077138","full_name":"fengyuanchen/postcss-header","owner":"fengyuanchen","description":"Add a header to a file.","archived":false,"fork":false,"pushed_at":"2022-11-06T04:55:47.000Z","size":266,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T01:51:45.533Z","etag":null,"topics":["banner","css","header","postcss","postcss-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/postcss-header","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fengyuanchen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-10-07T06:43:29.000Z","updated_at":"2024-04-24T05:38:47.000Z","dependencies_parsed_at":"2022-09-18T17:50:51.163Z","dependency_job_id":null,"html_url":"https://github.com/fengyuanchen/postcss-header","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengyuanchen%2Fpostcss-header","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengyuanchen%2Fpostcss-header/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengyuanchen%2Fpostcss-header/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengyuanchen%2Fpostcss-header/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fengyuanchen","download_url":"https://codeload.github.com/fengyuanchen/postcss-header/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248594190,"owners_count":21130316,"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":["banner","css","header","postcss","postcss-plugin"],"created_at":"2024-11-16T15:18:33.160Z","updated_at":"2025-04-15T21:52:44.839Z","avatar_url":"https://github.com/fengyuanchen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-header\n\n[![Downloads](https://img.shields.io/npm/dm/postcss-header.svg)](https://www.npmjs.com/package/postcss-header) [![Version](https://img.shields.io/npm/v/postcss-header.svg)](https://www.npmjs.com/package/postcss-header)\n\n\u003e Add a header to a file.\n\n## Install\n\n```shell\nnpm install postcss-header postcss --save-dev\n```\n\n## Usage\n\n```js\nconst postcss = require('postcss');\nconst header = require('postcss-header');\nconst result = postcss(header({\n  header: '/* A simple header */',\n})).process('.foo{}');\n\nconsole.log(result);\n// \u003e /* A simple header */\n// \u003e .foo{}\n```\n\n## Options\n\n### header\n\n- Type: `String`\n- Default: `''`\n- Alias: banner\n\nThe string will be put at the beginning of the CSS file.\n\n## Versioning\n\nMaintained under the [Semantic Versioning guidelines](https://semver.org/).\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT) © [Chen Fengyuan](https://chenfengyuan.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengyuanchen%2Fpostcss-header","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffengyuanchen%2Fpostcss-header","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengyuanchen%2Fpostcss-header/lists"}