This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

rocambole-method-rename

0.2.2 • Public • Published

Rocambole Method Rename

A tool to rename method names in JS files through Rocambole.

Build Status

Instalation:

$ npm install rocambole-method-rename

Usage example

// TL;DR, it returns a string
require( "rocambole-method-rename" )( src, "oldMethodName", "newMethodName" );

Other:

(function() {
    var path = require( "path" ),
        rmr = require( "rocambole-method-rename" ),
        src = path.join( __dirname, "source.js" ).toString(),
        result;
 
    // Sends JS Contents
    // Returns a string with the replaced content
    result = rmr( src, "oldMethodName", "newMethodName" );
})();

Contributing

Issues and PRs are very welcome!

Please write tests with new features.

Grunt!

Readme

Keywords

Package Sidebar

Install

npm i rocambole-method-rename

Weekly Downloads

1

Version

0.2.2

License

MIT

Last publish

Collaborators

  • leobalter