Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gulp-requirejs-transformconfig with all npm packages installed. Try it out:

var gulpRequirejsTransformconfig = require("gulp-requirejs-transformconfig")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-requirejs-transformconfig v0.1.0

A gulp plugin to transform your require.js config


Gulp plugin for transforming requirejs configs.


Install package with NPM and add it to your development dependencies:

npm install gulp-requirejs-transformconfig --save-dev


var requireJsTransformConfig = require('gulp-requirejs-transformconfig');

gulp.task('transform-config', function() {
  return gulp.src('path/to/config.js')
    .pipe(requireJsTransformConfig(function(config) { = {
            '*': {
                'foo-module': 'bar-module'
        return config;
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free