{"id":21448968,"url":"https://github.com/stackcss/sheetify-postcss","last_synced_at":"2025-07-14T20:31:29.764Z","repository":{"id":57358199,"uuid":"67082932","full_name":"stackcss/sheetify-postcss","owner":"stackcss","description":"postcss transform for sheetify, use all the plugins!","archived":false,"fork":false,"pushed_at":"2019-07-16T07:12:52.000Z","size":12,"stargazers_count":12,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-08T20:19:22.659Z","etag":null,"topics":["postcss","sheetify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stackcss.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":"2016-09-01T00:10:24.000Z","updated_at":"2019-07-16T07:12:50.000Z","dependencies_parsed_at":"2022-09-26T16:40:48.336Z","dependency_job_id":null,"html_url":"https://github.com/stackcss/sheetify-postcss","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/stackcss/sheetify-postcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fsheetify-postcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fsheetify-postcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fsheetify-postcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fsheetify-postcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackcss","download_url":"https://codeload.github.com/stackcss/sheetify-postcss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackcss%2Fsheetify-postcss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265344830,"owners_count":23750566,"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","sheetify"],"created_at":"2024-11-23T03:17:41.994Z","updated_at":"2025-07-14T20:31:29.418Z","avatar_url":"https://github.com/stackcss.png","language":"JavaScript","readme":"# sheetify-postcss\n\npostcss transform for sheetify, use all the plugins!\n\n```shell\nnpm install --save sheetify-postcss\n```\n\n## usage\n\n### programmatic\n\n```js\nconst sheetify = require('sheetify')\nconst path = require('path')\n\nconst opts = {\n  transform: [\n    [\n      'sheetify-postcss', {\n        plugins: [\n          require('postcss-color-function')\n        ]\n      }\n    ]\n  ],\n  basedir: __dirname\n}\n\nbrowserify('./entry')\n  .transform(sheetify, opts)\n  .bundle()\n  .pipe(process.stdout)\n```\n\n### with `package.json`\n\nadd to your `package.json` `browserify.transform` field:\n\n```json\n{\n  \"browserify\": {\n    \"transform\": [\n      [\n        \"sheetify\",\n        {\n          \"transform\": [\n            [\n              \"sheetify-postcss\",\n              {\n                \"plugins\": [\n                  \"postcss-color-function\"\n                ]\n              }\n            ]\n          ]\n        }\n      ]\n    ]\n  }\n}\n```\n\n### using `.postcssrc`\n\nOptions and plugins can be defined using a config file. Uses [postcss-load-config](https://github.com/michael-ciniawsky/postcss-load-config) which supports `postcss` field in `package.json`, an external JSON or YAML (`.postcssrc`) file as well as JS (`.postcssrc.js` and `postcss.config.js`) file format.\n\n```javascript\n// .postcssrc.js\nmodule.exports = function (ctx) {\n  var plugins = [require('postcss-color-function')]\n\n  if (ctx.env !== 'development') {\n    plugins.push(require('autoprefixer'))\n  }\n\n  return {\n    map: ctx.env === 'development' ? 'inline' : false\n    plugins: plugins\n  }\n}\n```\n\n## license\n\nThe Apache License\n\nCopyright \u0026copy; 2016 Michael Williams\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackcss%2Fsheetify-postcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackcss%2Fsheetify-postcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackcss%2Fsheetify-postcss/lists"}