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