@jswork/next-underscored
v1.0.1
Published
Converts a camelized or dasherized string into an underscored one.
Downloads
11
Maintainers
Readme
next-underscored
Converts a camelized or dasherized string into an underscored one.
installation
npm install -S @jswork/next-underscored
usage
import '@jswork/next-underscored';
nx.underscored('/api/v1/test'); // _api_v1_test
nx.underscored('api/v1/test'); // api_v1_test
license
Code released under the MIT license.