{"id":21245399,"url":"https://github.com/jstransformers/gulp-jstransformer","last_synced_at":"2025-03-15T04:41:46.596Z","repository":{"id":33049237,"uuid":"36685280","full_name":"jstransformers/gulp-jstransformer","owner":"jstransformers","description":"Run JSTransformers through Gulp.","archived":false,"fork":false,"pushed_at":"2020-04-26T02:27:04.000Z","size":56,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-21T20:15:54.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/gulp-jstransformer","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/jstransformers.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-01T20:00:04.000Z","updated_at":"2020-04-26T02:27:04.000Z","dependencies_parsed_at":"2022-08-24T13:20:33.754Z","dependency_job_id":null,"html_url":"https://github.com/jstransformers/gulp-jstransformer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fgulp-jstransformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fgulp-jstransformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fgulp-jstransformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fgulp-jstransformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstransformers","download_url":"https://codeload.github.com/jstransformers/gulp-jstransformer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685528,"owners_count":20330980,"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-11-21T01:51:12.513Z","updated_at":"2025-03-15T04:41:46.571Z","avatar_url":"https://github.com/jstransformers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-jstransformer\n\n[Gulp](http://gulpjs.com) support for [JSTransformers](http://github.com/jstransformers).\n\n[![Build Status](https://img.shields.io/travis/jstransformers/gulp-jstransformer/master.svg)](https://travis-ci.org/jstransformers/gulp-jstransformer)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/gulp-jstransformer/master.svg)](https://codecov.io/gh/jstransformers/gulp-jstransformer)\n[![Dependency Status](https://img.shields.io/david/jstransformers/gulp-jstransformer/master.svg)](http://david-dm.org/jstransformers/gulp-jstransformer)\n[![NPM version](https://img.shields.io/npm/v/gulp-jstransformer.svg)](https://www.npmjs.org/package/gulp-jstransformer)\n\n## Install\n```\nnpm install gulp-jstransformer --save\n```\n\n## Usage\n\n```js\n'use strict';\n\nvar gulp = require('gulp');\nvar rename = require('gulp-rename');\nvar jstransformer = require('gulp-jstransformer');\n\nvar options = {\n  engine: 'octet'\n};\nvar locals = {\n  hello: 'Hello'\n};\n\ngulp.task('default', function () {\n  return gulp.src('test/*.octet')\n    .pipe(jstransformer(options, locals))\n    .pipe(rename(function (path) {\n      path.basename = 'expected'\n      path.extname = \".html\"\n    }))\n    .pipe(gulp.dest('dest/'));\n});\n```\n\nor just `git clone` this repository and run `gulp`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fgulp-jstransformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstransformers%2Fgulp-jstransformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fgulp-jstransformer/lists"}