{"id":13447648,"url":"https://github.com/reworkcss/rework","last_synced_at":"2026-04-08T14:32:38.864Z","repository":{"id":3941255,"uuid":"5032833","full_name":"reworkcss/rework","owner":"reworkcss","description":"Plugin framework for CSS preprocessing in Node.js","archived":false,"fork":false,"pushed_at":"2021-03-26T00:14:52.000Z","size":1603,"stargazers_count":2750,"open_issues_count":17,"forks_count":122,"subscribers_count":82,"default_branch":"master","last_synced_at":"2026-03-26T02:13:38.907Z","etag":null,"topics":[],"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/reworkcss.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","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":"2012-07-14T00:10:05.000Z","updated_at":"2026-02-27T09:29:57.000Z","dependencies_parsed_at":"2022-09-06T06:22:41.844Z","dependency_job_id":null,"html_url":"https://github.com/reworkcss/rework","commit_stats":null,"previous_names":["visionmedia/rework"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/reworkcss/rework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reworkcss%2Frework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reworkcss%2Frework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reworkcss%2Frework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reworkcss%2Frework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reworkcss","download_url":"https://codeload.github.com/reworkcss/rework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reworkcss%2Frework/sbom","scorecard":{"id":772950,"data":{"date":"2025-08-11","repo":{"name":"github.com/reworkcss/rework","commit":"610027a0bfe27bdf2a1c7797f8d7288511562021"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 5/30 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T02:42:09.758Z","repository_id":3941255,"created_at":"2025-08-23T02:42:09.758Z","updated_at":"2025-08-23T02:42:09.758Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31231377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T09:14:28.471Z","status":"ssl_error","status_checked_at":"2026-03-31T09:14:19.506Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07-31T05:01:23.410Z","updated_at":"2026-04-08T14:32:38.841Z","avatar_url":"https://github.com/reworkcss.png","language":"JavaScript","readme":"# rework [![Build Status](https://travis-ci.org/reworkcss/rework.png)](https://travis-ci.org/reworkcss/rework)\n\nCSS manipulations built on [`css`](https://github.com/reworkcss/css), allowing\nyou to automate vendor prefixing, create your own properties, inline images,\nanything you can imagine!\n\nPlease refer to [`css`](https://github.com/reworkcss/css) for AST documentation\nand to report parser/stringifier issues.\n\n## Installation\n\n    $ npm install rework\n\n## Usage\n\n```js\nvar rework = require('rework');\nvar pluginA = require('pluginA');\nvar pluginB = require('pluginB');\n\nrework('body { font-size: 12px; }', { source: 'source.css' })\n  .use(pluginA)\n  .use(pluginB)\n  .toString({ sourcemap: true })\n```\n\n## API\n\n### rework(code, [options])\n\nAccepts a CSS string and returns a new `Rework` instance. The `options` are\npassed directly to `css.parse`.\n\n### Rework#use(fn)\n\nUse the given plugin `fn`. A rework \"plugin\" is simply a function accepting the\nstylesheet root node and the `Rework` instance.\n\n### Rework#toString([options])\n\nReturns the string representation of the manipulated CSS. The `options` are\npassed directly to `css.stringify`.\n\nUnlike `css.stringify`, if you pass `sourcemap: true` a string will still be\nreturned, with the source map inlined. Also use `sourcemapAsObject: true` if\nyou want the `css.stringify` return value.\n\n## Plugins\n\nRework has a rich collection of plugins and mixins. Browse all the [Rework\nplugins](https://www.npmjs.org/search?q=rework) available on npm.\n\nPlugins of particular note:\n\n- [at2x](https://github.com/reworkcss/rework-plugin-at2x/) – serve high resolution images\n- [calc](https://github.com/reworkcss/rework-calc) – resolve simple `calc()` expressions\n- [colors](https://github.com/reworkcss/rework-plugin-colors/) – color helpers like `rgba(#fc0, .5)`\n- [ease](https://github.com/reworkcss/rework-plugin-ease/) – several additional easing functions\n- [extend](https://github.com/reworkcss/rework-inherit/) – `extend: selector` support\n- [function](https://github.com/reworkcss/rework-plugin-function/) – user-defined CSS functions\n- [import](https://github.com/reworkcss/rework-import) – read and inline CSS via `@import`\n- [inline](https://github.com/reworkcss/rework-plugin-inline) – inline assets as data URIs\n- [mixin](https://github.com/reworkcss/rework-plugin-mixin/) – custom property logic with mixins\n- [npm](https://github.com/reworkcss/rework-npm) - inline CSS via `@import` using node's module resolver\n- [references](https://github.com/reworkcss/rework-plugin-references/) – property references like `height: @width`\n- [url](https://github.com/reworkcss/rework-plugin-url/) – rewrite `url()`s with a given function\n- [variables](https://github.com/reworkcss/rework-vars/) – W3C-style variables\n\n## Built with rework\n\n- [styl](https://github.com/visionmedia/styl)\n- [rework-pure-css](https://github.com/ianstormtaylor/rework-pure-css)\n- [rework-suit](https://github.com/suitcss/rework-suit)\n- [resin](https://github.com/topcoat/resin)\n- [Myth](https://github.com/segmentio/myth)\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2012–2013 TJ Holowaychuk \u003ctj@vision-media.ca\u003e\n\nCopyright (c) 2014 Contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects","Parsers :mag:","others","Preprocessor"],"sub_categories":["Editor's Draft :black_nib:"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freworkcss%2Frework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freworkcss%2Frework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freworkcss%2Frework/lists"}