{"id":15698991,"url":"https://github.com/pgilad/gulp-angular-htmlify","last_synced_at":"2025-08-22T16:04:27.195Z","repository":{"id":15717096,"uuid":"18455159","full_name":"pgilad/gulp-angular-htmlify","owner":"pgilad","description":"Change your HTML ng-attributes to data-ng-attributes for HTML5 validation","archived":false,"fork":false,"pushed_at":"2015-05-22T17:28:16.000Z","size":341,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-06T21:07:12.831Z","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/pgilad.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-04-04T23:02:08.000Z","updated_at":"2020-09-15T07:44:02.000Z","dependencies_parsed_at":"2022-08-25T11:50:12.223Z","dependency_job_id":null,"html_url":"https://github.com/pgilad/gulp-angular-htmlify","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-angular-htmlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-angular-htmlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-angular-htmlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgulp-angular-htmlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgilad","download_url":"https://codeload.github.com/pgilad/gulp-angular-htmlify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769420,"owners_count":21801378,"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-03T19:37:16.434Z","updated_at":"2025-05-06T21:07:26.262Z","avatar_url":"https://github.com/pgilad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [gulp](https://github.com/wearefractal/gulp)-angular-htmlify\n\n\u003e Change your ng-attributes to data-ng-attributes for HTML5 validation using [angular-html5](https://github.com/pgilad/angular-html5)\n\n[![NPM Version](http://img.shields.io/npm/v/gulp-angular-htmlify.svg?style=flat)](https://npmjs.org/package/gulp-angular-htmlify)\n[![NPM Downloads](http://img.shields.io/npm/dm/gulp-angular-htmlify.svg?style=flat)](https://npmjs.org/package/gulp-angular-htmlify)\n[![Build Status](http://img.shields.io/travis/pgilad/gulp-angular-htmlify.svg?style=flat)](https://travis-ci.org/pgilad/gulp-angular-htmlify)\n\n*Issues with the output should be reported on the angular-html5 [issue tracker](https://github.com/pgilad/angular-html5/issues).*\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/gulp-angular-htmlify)\n\n```sh\nnpm install --save-dev gulp-angular-htmlify\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar htmlify = require('gulp-angular-htmlify');\n\n//simple usage\ngulp.task('htmlify', function() {\n    gulp.src('public/**/*.html')\n        .pipe(htmlify())\n        .pipe(gulp.dest('build/'));\n});\n\n//using jade as a pre-processer\ngulp.task('htmlify', function() {\n    gulp.src('partials/**/*.jade')\n        .pipe(jade())\n        .pipe(htmlify())\n        .pipe(gulp.dest('build/'));\n});\n\n//Also transforming ui-attributes to data-ui-attributes\ngulp.task('htmlify', function() {\n    gulp.src('public/**/*.html')\n        .pipe(htmlify({\n            customPrefixes: ['ui-']\n        }))\n        .pipe(gulp.dest('build/'));\n});\n```\n\n## Options\n\nSee the `angular-html5` [options](https://github.com/pgilad/angular-html5#api)\n\n### Additional Options\n\n#### verbose\n\nType: `Boolean`\n\nDefault: `false`\n\nWhether to log files that had ng-directives detected and replaced. (Useful for debugging).\n\nExample usage:\n```js\n//...\n.pipe(htmlify({\n    verbose: true\n    }))\n// --\u003e [gulp] Found and replaced ng-directives in index.html\n//...\n```\n\n## License\n\nMIT @[Gilad Peleg](http://giladpeleg.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgilad%2Fgulp-angular-htmlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgilad%2Fgulp-angular-htmlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgilad%2Fgulp-angular-htmlify/lists"}