{"id":19304123,"url":"https://github.com/foolishchow/gulp-pliguns","last_synced_at":"2026-06-13T02:33:24.623Z","repository":{"id":126856022,"uuid":"44528321","full_name":"foolishchow/Gulp-Pliguns","owner":"foolishchow","description":"Gulp Pliguns for node","archived":false,"fork":false,"pushed_at":"2015-10-29T14:07:01.000Z","size":676,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-16T08:23:26.472Z","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/foolishchow.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":"2015-10-19T10:49:29.000Z","updated_at":"2015-10-29T14:06:10.000Z","dependencies_parsed_at":"2023-03-13T11:35:54.198Z","dependency_job_id":null,"html_url":"https://github.com/foolishchow/Gulp-Pliguns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foolishchow/Gulp-Pliguns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishchow%2FGulp-Pliguns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishchow%2FGulp-Pliguns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishchow%2FGulp-Pliguns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishchow%2FGulp-Pliguns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foolishchow","download_url":"https://codeload.github.com/foolishchow/Gulp-Pliguns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishchow%2FGulp-Pliguns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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-11-09T23:28:45.689Z","updated_at":"2026-06-13T02:33:24.600Z","avatar_url":"https://github.com/foolishchow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gulp-2rem\n-----\n\n###change the Pixel in your css file into rem .\n\n\n```js\n\nvar gulp     = require('gulp'),\n    gulp2rem = require('gulp-2rem');\n\n\nvar option = {\n    \"root_value\": 20,                 // 1rem = 20px\n    \"unit_precision\": 5,              // float length \n    \"prop_white_list\": [              // the attr you want to change to rem\n                \"width\", \n                \"height\", \n                \"padding\",\n                \"padding-top\", \n                \"padding-right\", \n                \"padding-bottom\", \n                \"padding-left\", \n                \"margin\", \n                \"margin-top\", \n                \"margin-right\", \n                \"margin-bottom\", \n                \"margin-left\"\n    ],\n    \"replace\": false,               //  replace the px value to rem ,or add new attr unit by rem after \n    \"media_query\": false            //  egg: @media screen and (max-width:320px)\n};\n\n\ngulp.task('px2rem',function(){\n    gulp.src('./test/sample/*.css')\n        .pipe(gulp2rem(option))\n        .pipe(gulp.dest('./test/dest/'));\n});\n\ngulp.default(['px2rem'],function(){\n    gulp.watch('./test/sample/*.css',['px2rem']);\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoolishchow%2Fgulp-pliguns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoolishchow%2Fgulp-pliguns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoolishchow%2Fgulp-pliguns/lists"}