{"id":16596715,"url":"https://github.com/ggkovacs/gulp-px2rem","last_synced_at":"2025-03-21T13:32:25.636Z","repository":{"id":23216522,"uuid":"26573629","full_name":"ggkovacs/gulp-px2rem","owner":"ggkovacs","description":"This is a gulp plugin for node-px2rem.","archived":false,"fork":false,"pushed_at":"2022-12-02T00:33:15.000Z","size":1295,"stargazers_count":20,"open_issues_count":9,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-25T22:34:38.575Z","etag":null,"topics":["gulp","gulp-plugin","node-px2rem","nodejs","px2rem"],"latest_commit_sha":null,"homepage":"","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/ggkovacs.png","metadata":{"files":{"readme":"README.md","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-11-13T06:14:19.000Z","updated_at":"2023-04-23T20:39:27.000Z","dependencies_parsed_at":"2023-01-13T22:57:36.989Z","dependency_job_id":null,"html_url":"https://github.com/ggkovacs/gulp-px2rem","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkovacs%2Fgulp-px2rem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkovacs%2Fgulp-px2rem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkovacs%2Fgulp-px2rem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggkovacs%2Fgulp-px2rem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggkovacs","download_url":"https://codeload.github.com/ggkovacs/gulp-px2rem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221815746,"owners_count":16885216,"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":["gulp","gulp-plugin","node-px2rem","nodejs","px2rem"],"created_at":"2024-10-11T23:54:02.468Z","updated_at":"2024-10-28T10:13:53.721Z","avatar_url":"https://github.com/ggkovacs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [gulp](https://github.com/gulpjs/gulp)-px2rem [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url]\nVersion: **1.1.4**\n\nThis is a Gulp plugin for [node-px2rem](https://github.com/ggkovacs/node-px2rem).\n\n## Installation\n\nRun `npm install gulp-px2rem`\n\n## Usage\n\n```js\nconst px2rem = require('gulp-px2rem');\n\ngulp.task('css', () =\u003e {\n  return gulp.src('css/**/*.css')\n    .pipe(px2rem())\n    .pipe(gulp.dest('css'));\n});\n```\n\n## Options\n\nPass in two option objects. The first one for [node-px2rem](https://github.com/ggkovacs/node-px2rem) options, the second for [postcss](https://github.com/postcss/postcss) options.\n\n```js\nconst px2rem = require('gulp-px2rem');\n\nconst px2remOptions = {\n  replace: false\n};\n\nconst postCssOptions = {\n  map: true\n};\n\ngulp.task('css', () =\u003e {\n  return gulp.src('css/**/*.css')\n    .pipe(px2rem(px2remOptions, postCssOptions))\n    .pipe(gulp.dest('css'));\n});\n```\n\n# License\nMIT © 2021 Gergely Kovács (gg.kovacs@gmail.com)\n\n[npm-image]: https://badge.fury.io/js/gulp-px2rem.svg\n[npm-url]: https://npmjs.org/package/gulp-px2rem\n[daviddm-image]: https://david-dm.org/ggkovacs/gulp-px2rem.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/ggkovacs/gulp-px2rem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggkovacs%2Fgulp-px2rem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggkovacs%2Fgulp-px2rem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggkovacs%2Fgulp-px2rem/lists"}