1.0.1 • Published 1 year ago
@jswork/next-underscored v1.0.1
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.