{"id":15502866,"url":"https://github.com/johno/gulp-class-prefix","last_synced_at":"2025-10-19T23:37:08.093Z","repository":{"id":22553619,"uuid":"25894702","full_name":"johno/gulp-class-prefix","owner":"johno","description":"Add a class prefix to further sandbox CSS styling for third-party imports.","archived":false,"fork":false,"pushed_at":"2015-07-16T15:28:35.000Z","size":180,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T17:29:34.600Z","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/johno.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-10-28T23:21:33.000Z","updated_at":"2019-01-23T17:24:14.000Z","dependencies_parsed_at":"2022-08-21T07:30:58.563Z","dependency_job_id":null,"html_url":"https://github.com/johno/gulp-class-prefix","commit_stats":null,"previous_names":["johnotander/gulp-class-prefix"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-class-prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-class-prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-class-prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fgulp-class-prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/gulp-class-prefix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250338375,"owners_count":21414167,"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":[],"created_at":"2024-10-02T09:11:23.757Z","updated_at":"2025-10-19T23:37:03.056Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-class-prefix [![Build Status](https://travis-ci.org/johnotander/gulp-class-prefix.svg?branch=master)](https://travis-ci.org/johnotander/gulp-class-prefix)\n\nGulp plugin to prefix classes in a CSS file.\n\n## Installation\n\n```\nnpm install --save gulp-class-prefix\n```\n\n## Usage\n\n```js\nvar gulp        = require('gulp'),\n    classPrefix = require('gulp-class-prefix');\n\ngulp.task('prefix', function() {\n  return gulp.src('my-file.css')\n    .pipe(classPrefix('my-class-prefix-'))\n    .pipe(gulp.dest('dist'));\n});\n\ngulp.task('default', ['prefix']);\n```\n\n### Using the `ignored` option:\n\n```js\nvar gulp        = require('gulp'),\n    classPrefix = require('gulp-class-prefix');\n\ngulp.task('prefix', function() {\n  return gulp.src('my-file.css')\n  .pipe(classPrefix('my-class-prefix-', { ignored: [/\\.ng-/, '.some-class'] }))\n  .pipe(gulp.dest('dist'));\n});\n\ngulp.task('default', ['prefix']);\n```\n\n## License\n\nMIT\n\n## Acknowledgements\n\nGulp wrapper for \u003chttps://github.com/johnotander/rework-class-prefix\u003e.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by [John Otander](http://johnotander.com) ([@4lpine](https://twitter.com/4lpine)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fgulp-class-prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fgulp-class-prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fgulp-class-prefix/lists"}