Skip to content

Instantly share code, notes, and snippets.

View emahuni's full-sized avatar

Emmanuel Mahuni emahuni

View GitHub Profile
@finalclass
finalclass / rename-camel-to-dash.js
Last active July 31, 2024 23:16
recursively renames every file and directory in the script path from camelCase and UpperCamelCase to dash-case
/*jshint node:true*/
'use strict';
/**
* This scripts recursively renames every file and directory in the script path
* from camelCase and UpperCamelCase to dash-case
*
* Do a backup before executing this script
*
* @lecense MIT