{"id":16013422,"url":"https://github.com/magicdawn/gulp-razor-tmpl","last_synced_at":"2026-04-03T23:05:09.609Z","repository":{"id":20425919,"uuid":"23702461","full_name":"magicdawn/gulp-razor-tmpl","owner":"magicdawn","description":"gulp plugin for razor-tmpl","archived":false,"fork":false,"pushed_at":"2017-04-08T19:30:26.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T19:13:54.123Z","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/magicdawn.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-09-05T12:39:12.000Z","updated_at":"2014-09-05T13:06:22.000Z","dependencies_parsed_at":"2022-07-26T06:47:06.641Z","dependency_job_id":null,"html_url":"https://github.com/magicdawn/gulp-razor-tmpl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fgulp-razor-tmpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fgulp-razor-tmpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fgulp-razor-tmpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fgulp-razor-tmpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicdawn","download_url":"https://codeload.github.com/magicdawn/gulp-razor-tmpl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237506568,"owners_count":19321205,"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-08T14:41:13.452Z","updated_at":"2025-10-21T15:31:26.142Z","avatar_url":"https://github.com/magicdawn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#gulp-razor-tmpl\ngulp plugin for [razor-tmpl](https://github.com/magicdawn/razor-tmpl)\n\n#Install\n\t$ npm i gulp-razor-tmpl --save-dev\n\n#Usage\nin gulpfile.js\n```js\nvar razor = require('gulp-razor-tmpl');\ngulp.task('build',function() {\n\treturn gulp.src('template/**/*.razor')\n\t\t.pipe(razor())\n\t\t.pipe(gulp.dest('output'));\n})\n```\nthis will render `template/**/*.razor` to the `html` ext,this exmaple locates in the `test` folder\n\n##Options\nrazor([option]) the option argument is optional\n- ext : target extension,default = html\n- ViewBag : the ViewBag data,default = null\n\n##Tips\njust as what I have done to razor-tmpl,you can use `_doc` property in repl\n```shell\n$ node\n\u003e razor = require('gulp-razor-tmpl')\n\u003e console.log(razor._doc)\n```\n\n\n#License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Fgulp-razor-tmpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicdawn%2Fgulp-razor-tmpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Fgulp-razor-tmpl/lists"}