{"id":13803779,"url":"https://github.com/ryanseddon/gulp-es6-module-transpiler","last_synced_at":"2025-04-14T10:33:09.162Z","repository":{"id":12826777,"uuid":"15502056","full_name":"ryanseddon/gulp-es6-module-transpiler","owner":"ryanseddon","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-09T09:23:37.000Z","size":44,"stargazers_count":61,"open_issues_count":6,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-11T12:21:27.047Z","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/ryanseddon.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":"2013-12-29T02:02:13.000Z","updated_at":"2022-03-09T09:23:40.000Z","dependencies_parsed_at":"2022-09-07T22:22:07.518Z","dependency_job_id":null,"html_url":"https://github.com/ryanseddon/gulp-es6-module-transpiler","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanseddon%2Fgulp-es6-module-transpiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanseddon%2Fgulp-es6-module-transpiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanseddon%2Fgulp-es6-module-transpiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanseddon%2Fgulp-es6-module-transpiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanseddon","download_url":"https://codeload.github.com/ryanseddon/gulp-es6-module-transpiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571938,"owners_count":21126522,"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-08-04T01:00:37.802Z","updated_at":"2025-04-14T10:33:09.126Z","avatar_url":"https://github.com/ryanseddon.png","language":"JavaScript","funding_links":[],"categories":["Build-time transpilation"],"sub_categories":["Gulp Plugins"],"readme":"# gulp-es6-module-transpiler\n\n[Gulp](https://github.com/gulpjs/gulp) plugin for the [ES6 Module Transpiler](https://github.com/esnext/es6-module-transpiler)\n\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]\n\n```js\nnpm install gulp-es6-module-transpiler\n```\n\n## Usage\n\n### Basic usage\n\n```js\nvar transpile  = require('gulp-es6-module-transpiler');\n\ngulp.task('build', function() {\n    return gulp.src('src/**/*.js')\n        .pipe(transpile({\n            formatter: 'bundle'\n        }))\n        .pipe(gulp.dest('lib'));\n})\n```\n\n### With source maps\n\n```js\nvar sourcemaps = require('gulp-sourcemaps');\nvar transpile  = require('gulp-es6-module-transpiler');\n\ngulp.task('build', function() {\n    return gulp.src('src/**/*.js')\n        .pipe(sourcemaps.init())\n        .pipe(transpile({\n            formatter: 'bundle'\n        }))\n        .pipe(sourcemaps.write('./'))\n        .pipe(gulp.dest('lib'));\n })\n ```\n\n\n### Options\n\n```formatter``` *```String|Formatter|Formatter constructor```* *[optional]*\n\nName of built-in formatter, formatter instance of formatter constructor function. Controls the output format of transpiler scripts. All built-in formatters are available as ```formatters``` property of required module ```require('gulp-es6-module-transpiler').formatters```.\n\nDefaults to [es6-module-transpiler](https://github.com/esnext/es6-module-transpiler) default formatter.\n\n**Important** es6-module-transpiler version 0.9.x supports ```bundle``` and ```commonjs``` formatters only.\nTo support AMD format, please use [es6-module-transpiler-amd-formatter](https://github.com/caridy/es6-module-transpiler-amd-formatter).\n\n```basePath``` *```String```* *[optional]*\n\nAll module names will be resolved and named relatively to this path.\n\nDefaults to ```process.cwd()```.\n\n```importPaths``` *```Array\u003cString\u003e```* *[optional]*\n\nArray of path that will be used to resolve modules.\n\nDefaults to ```[ options.basePath ]```.\n\n```sourceMaps``` *```Boolean```* *[optional]*\n\nIf set to ```false```, sourceMappingURL is not appended to transpiled files and source maps are not applied. Defaults to ```true```.\n\n## Release history\n\n* 02/07/2015 - v0.2.2 - Bump es6-module-transpiler to 0.10.0\n* 02/02/2015 - v0.2.1 - Outputs one file for every input file\n* 29/12/2014 - v0.2.0 - 0.5.0+ compatibility with es6-module-transpiler\n* 12/07/2014 - v0.1.3 - Normalises paths for windows machines\n* 08/06/2014 - v0.1.2 - Added module prefix option\n* 16/04/2014 - v0.1.1 - Version bump to 0.4.0\n\n## License\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n[npm-url]: https://npmjs.org/package/gulp-es6-module-transpiler\n[npm-image]: https://badge.fury.io/js/gulp-es6-module-transpiler.png\n\n[travis-url]: http://travis-ci.org/ryanseddon/gulp-es6-module-transpiler\n[travis-image]: https://secure.travis-ci.org/ryanseddon/gulp-es6-module-transpiler.png?branch=master\n\n[depstat-url]: https://david-dm.org/ryanseddon/gulp-es6-module-transpiler\n[depstat-image]: https://david-dm.org/ryanseddon/gulp-es6-module-transpiler.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanseddon%2Fgulp-es6-module-transpiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanseddon%2Fgulp-es6-module-transpiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanseddon%2Fgulp-es6-module-transpiler/lists"}