Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.0 KiB

  1. # camelcase [![Build Status](https://travis-ci.org/sindresorhus/camelcase.svg?branch=master)](https://travis-ci.org/sindresorhus/camelcase)
  2. > Convert a dash/dot/underscore/space separated string to camelCase: `foo-bar` → `fooBar`
  3. ## Install
  4. ```
  5. $ npm install --save camelcase
  6. ```
  7. ## Usage
  8. ```js
  9. const camelCase = require('camelcase');
  10. camelCase('foo-bar');
  11. //=> 'fooBar'
  12. camelCase('foo_bar');
  13. //=> 'fooBar'
  14. camelCase('Foo-Bar');
  15. //=> 'fooBar'
  16. camelCase('--foo.bar');
  17. //=> 'fooBar'
  18. camelCase('__foo__bar__');
  19. //=> 'fooBar'
  20. camelCase('foo bar');
  21. //=> 'fooBar'
  22. console.log(process.argv[3]);
  23. //=> '--foo-bar'
  24. camelCase(process.argv[3]);
  25. //=> 'fooBar'
  26. camelCase('foo', 'bar');
  27. //=> 'fooBar'
  28. camelCase('__foo__', '--bar');
  29. //=> 'fooBar'
  30. ```
  31. ## Related
  32. - [decamelize](https://github.com/sindresorhus/decamelize) - The inverse of this module
  33. - [uppercamelcase](https://github.com/SamVerschueren/uppercamelcase) - Like this module, but to PascalCase instead of camelCase
  34. ## License
  35. MIT © [Sindre Sorhus](https://sindresorhus.com)