@neollob/text-treatment

0.0.11 • Public • Published

npm (scoped)

npm package - Text treatment

Installation

Using npm:

$ npm i -g npm
$ npm i --save @neollob/text-treatment

Options

  • firstUpper

    Capitalize the first letter of a given string

  • allFirstUpper

    Capitalize the first letter of each word of a given string

  • lowerCase

    Convert a given string to lowercase letters

  • alternate

    Alternate upper and lower case of a given string

  • camelize

    Converts to camelCase a given string. Words separated by . ,, <space> or kebab-case

  • pascalize

    Converts to PascalCase a given string. Words separated by . ,, <space> or kebab-case

  • kebabize

    Converts to kebab-case a given string. Words separated by . ,, <space>, camelCase or snake_case

  • snakeize

    Converts to snake_case a given string. Words separated by . ,, <space>, camelCase or kebab-case

Syntax:

option(<string>)

Package Sidebar

Install

npm i @neollob/text-treatment

Weekly Downloads

0

Version

0.0.11

License

MIT

Unpacked Size

4.74 kB

Total Files

4

Last publish

Collaborators

  • neollob