web 3d图形渲染器
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.

37 lines
983 B

  1. # Dot Case
  2. [![NPM version][npm-image]][npm-url]
  3. [![NPM downloads][downloads-image]][downloads-url]
  4. [![Bundle size][bundlephobia-image]][bundlephobia-url]
  5. > Transform into a lower case string with a period between words.
  6. ## Installation
  7. ```
  8. npm install dot-case --save
  9. ```
  10. ## Usage
  11. ```js
  12. import { dotCase } from "dot-case";
  13. dotCase("string"); //=> "string"
  14. dotCase("dot.case"); //=> "dot.case"
  15. dotCase("PascalCase"); //=> "pascal.case"
  16. dotCase("version 1.2.10"); //=> "version.1.2.10"
  17. ```
  18. The function also accepts [`options`](https://github.com/blakeembrey/change-case#options).
  19. ## License
  20. MIT
  21. [npm-image]: https://img.shields.io/npm/v/dot-case.svg?style=flat
  22. [npm-url]: https://npmjs.org/package/dot-case
  23. [downloads-image]: https://img.shields.io/npm/dm/dot-case.svg?style=flat
  24. [downloads-url]: https://npmjs.org/package/dot-case
  25. [bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/dot-case.svg
  26. [bundlephobia-url]: https://bundlephobia.com/result?p=dot-case