Need private packages and team management tools?Check out npm Teams »

just-pascal-case

1.1.0 • Public • Published

just-pascal-case

Part of a library of zero-dependency npm modules that do just do one thing. Guilt-free utilities for every occasion.

  import pascalCase from 'just-pascal-case';

  pascalCase('the quick brown fox'); // 'TheQuickBrownFox'
  pascalCase('the_quick_brown_fox'); // 'TheQuickBrownFox'
  pascalCase('the-quick-brown-fox'); // 'TheQuickBrownFox'
  pascalCase('theQuickBrownFox'); // 'TheQuickBrownFox'
  pascalCase('thequickbrownfox'); // 'Thequickbrownfox'
  pascalCase('the - quick * brown# fox'); // 'TheQuickBrownFox'
  pascalCase('theQUICKBrownFox'); // 'TheQUICKBrownFox'

Install

npm i just-pascal-case

DownloadsWeekly Downloads

1,309

Version

1.1.0

License

MIT

Unpacked Size

3.13 kB

Total Files

4

Last publish

Collaborators

  • avatar