@jswork/next-underscored

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i @jswork/next-underscored

Homepage

js.work

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.68 kB

Total Files

6

Last publish

Collaborators

  • afeiship