Skip to content

Converts a camelized or dasherized string into an underscored one.

License

Notifications You must be signed in to change notification settings

afeiship/next-underscored

Repository files navigation

next-underscored

Converts a camelized or dasherized string into an underscored one.

version license size download

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.

About

Converts a camelized or dasherized string into an underscored one.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published