0.4.0 • Published 10 years ago

plumber-rename v0.4.0

Weekly downloads
3
License
GPL
Repository
github
Last release
10 years ago

plumber-rename Build Status

Rename operation for Plumber pipelines.

Example

var rename = require('plumber-rename');

module.exports = function(pipelines) {

    pipelines['compile'] = [
        glob('main.js'),
        rename('app'), // => now as `app.js'
        // ... more pipeline operations
    ];

};

API

rename(newName)

Rename the input resource to the given newName.

If more than one resource is passed to rename, the operation will fail with an error.

Note: the newName should not include the file extension. The extension is managed and added automatically.

0.4.0

10 years ago

0.3.0

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago