renamer-case

Renamer plugin to set the case of a filename

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
renamer-case
502.0.23 years ago6 years agoMinified + gzip package size for renamer-case in KB

Readme

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>.