decamelize
Turn mixed-case names into readable words or underscore-separated identifiers.
sindresorhus · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Separate gardenSeedCount into three words with an underscore and a hyphen.
What we tested
7.0.0. Separate gardenSeedCount into three words with an underscore and a hyphen. Separated the name with both requested delimiters.