renamer-case

2.0.2 • Public • Published

view on npm npm module downloads Gihub repo dependents Gihub package dependents Build Status Coverage Status js-standard-style

renamer-case

Renamer replace chain plugin to set the case of one or more files and/or directories. See this tutorial to learn how to use renamer plugins.

Possible values: camel, kebab, lower, upper, snake and start. It uses the lodash methods by the same name.

Install

$ npm install -g renamer renamer-case

Use

Example usage. Remove the --dry-run option to rename the files on disk.

$ tree -N
.
├── One one
└── One two

0 directories, 2 files

$ renamer --chain renamer-case --case camel --dry-run * 

✔︎ one one → oneOne
✔︎ one two → oneTwo

Rename complete: 1 of 1 files renamed.

$ tree -N
.
├── oneOne
└── oneTwo

0 directories, 2 files

© 2018-21 Lloyd Brookes 75pound@gmail.com.

Package Sidebar

Install

npm i renamer-case

Weekly Downloads

104

Version

2.0.2

License

none

Unpacked Size

4.76 kB

Total Files

4

Last publish

Collaborators

  • 75lb