ren

renamify

Rename group of files from a directory

Showing:

Popularity

Downloads/wk

195

GitHub Stars

2

Maintenance

Last Commit

2yrs ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

0.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Renamify License NPM version Dependency Status Build Status Coverage Status

Rename group of files from a directory.

Install

npm i renamify --save

API

renamify can be used as a promise:

const renamify = require('renamify');

const dir = '/';
const from = [
    'bin'
];

const to = [
    'super-bin'
];

renamify(dir, from, to)
    .then(console.log)
    .catch(console.error);

Or with es2018 async-await syntax:

const renamify = require('renamify');
const tryToCatch = require('try-to-catch');

const dir = '/';
const from = [
    'bin'
];

const to = [
    'super-bin'
];

const [error] = await tryToCatch(renamify, dir, from, to);
console.log(error || 'done');
  • renamify-cli - CLI rename group of files from a directory.

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial