{"id":16347380,"url":"https://github.com/cuth/gulp-pxtorem","last_synced_at":"2025-07-29T11:08:55.892Z","repository":{"id":18295809,"uuid":"21469530","full_name":"cuth/gulp-pxtorem","owner":"cuth","description":"A Gulp plugin for pxtorem","archived":false,"fork":false,"pushed_at":"2017-05-22T22:11:14.000Z","size":7,"stargazers_count":22,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T23:57:00.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cuth.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-07-03T16:31:28.000Z","updated_at":"2025-07-21T08:04:47.000Z","dependencies_parsed_at":"2022-07-26T02:32:05.261Z","dependency_job_id":null,"html_url":"https://github.com/cuth/gulp-pxtorem","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/cuth/gulp-pxtorem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuth%2Fgulp-pxtorem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuth%2Fgulp-pxtorem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuth%2Fgulp-pxtorem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuth%2Fgulp-pxtorem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuth","download_url":"https://codeload.github.com/cuth/gulp-pxtorem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuth%2Fgulp-pxtorem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267677243,"owners_count":24126313,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":"2024-10-11T00:41:55.093Z","updated_at":"2025-07-29T11:08:55.869Z","avatar_url":"https://github.com/cuth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-pxtorem [![NPM version](https://badge.fury.io/js/gulp-pxtorem.svg)](http://badge.fury.io/js/gulp-pxtorem)\n\nThis is a Gulp plugin for [postcss-pxtorem](https://github.com/cuth/postcss-pxtorem).\n\n### Installation\n\n```shell\nnpm install gulp-pxtorem --save-dev\n```\n\n### Example\n\n```js\nvar pxtorem = require('gulp-pxtorem');\n\ngulp.task('css', function() {\n    gulp.src('css/**/*.css')\n        .pipe(pxtorem())\n        .pipe(gulp.dest('css'));\n});\n```\n\n### Options\n\nPass in two option objects. The first one for [postcss-pxtorem](https://github.com/cuth/postcss-pxtorem) options, the second for [postcss](https://github.com/postcss/postcss) options.\n\n```js\nvar pxtorem = require('gulp-pxtorem');\n\nvar pxtoremOptions = {\n    replace: false\n};\n\nvar postcssOptions = {\n    map: true  \n};\n\ngulp.task('css', function() {\n    gulp.src('css/**/*.css')\n        .pipe(pxtorem(pxtoremOptions, postcssOptions))\n        .pipe(gulp.dest('css'));\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuth%2Fgulp-pxtorem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuth%2Fgulp-pxtorem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuth%2Fgulp-pxtorem/lists"}