{"id":37027665,"url":"https://github.com/fomantic/rework","last_synced_at":"2026-01-14T03:17:42.210Z","repository":{"id":62239808,"uuid":"558735024","full_name":"fomantic/rework","owner":"fomantic","description":"Plugin framework for CSS preprocessing in Node.js","archived":false,"fork":true,"pushed_at":"2025-03-01T12:48:08.000Z","size":389,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-22T10:49:57.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"reworkcss/rework","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fomantic.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":"2022-10-28T07:13:36.000Z","updated_at":"2025-03-01T12:48:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fomantic/rework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fomantic/rework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fomantic%2Frework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fomantic%2Frework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fomantic%2Frework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fomantic%2Frework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fomantic","download_url":"https://codeload.github.com/fomantic/rework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fomantic%2Frework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":"2026-01-14T03:17:41.551Z","updated_at":"2026-01-14T03:17:42.205Z","avatar_url":"https://github.com/fomantic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rework [![Build Status](https://travis-ci.org/reworkcss/rework.png)](https://travis-ci.org/reworkcss/rework)\n\n\u003e ### Forked Version using updated dependencies and dropped sourceMap support\n\u003e Original repo at https://github.com/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()\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\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffomantic%2Frework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffomantic%2Frework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffomantic%2Frework/lists"}