版博士V2.0程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

README.md 1.1 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Change Case
  2. [![NPM version][npm-image]][npm-url]
  3. [![NPM downloads][downloads-image]][downloads-url]
  4. [![Bundle size][bundlephobia-image]][bundlephobia-url]
  5. > Transform a string between `camelCase`, `PascalCase`, `Capital Case`, `snake_case`, `param-case`, `CONSTANT_CASE` and others.
  6. ## Installation
  7. ```
  8. npm install change-case --save
  9. ```
  10. ## Usage
  11. ```js
  12. import {
  13. camelCase,
  14. capitalCase,
  15. constantCase,
  16. dotCase,
  17. headerCase,
  18. noCase,
  19. paramCase,
  20. pascalCase,
  21. pathCase,
  22. sentenceCase,
  23. snakeCase,
  24. } from "change-case";
  25. ```
  26. Methods can also be installed [independently](https://github.com/blakeembrey/change-case). All functions also accept [`options`](https://github.com/blakeembrey/change-case#options) as the second argument.
  27. ## License
  28. MIT
  29. [npm-image]: https://img.shields.io/npm/v/change-case.svg?style=flat
  30. [npm-url]: https://npmjs.org/package/change-case
  31. [downloads-image]: https://img.shields.io/npm/dm/change-case.svg?style=flat
  32. [downloads-url]: https://npmjs.org/package/change-case
  33. [bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/change-case.svg
  34. [bundlephobia-url]: https://bundlephobia.com/result?p=change-case