@loadsmart/utils-string
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

BundlePhobia BundlePhobia

utils-string

useful functions for manipulating strings

Install via NPM

$ npm i @loadsmart/utils-string --save

Install via yarn

$ yarn add @loadsmart/utils-string

Usage

import React from 'react'
import {
  toCapitalizeFirstLetter,
  toLocaleCapitalizeFirstLetter,
} from '@loadsmart/utils-string'

export default () => (
  <div>
    Uppercase First Letter: {toCapitalizeFirstLetter('new york')}
    Uppercase First Letter with locale provided: {toLocaleCapitalizeFirstLetter(
      'istanbul',
      'tr'
    )}
  </div>
)

Readme

Keywords

Package Sidebar

Install

npm i @loadsmart/utils-string

Weekly Downloads

36

Version

0.3.1

License

MIT

Unpacked Size

10.6 kB

Total Files

21

Last publish

Collaborators

  • bruno.manzo
  • felipe.asantos
  • giovannitoledo
  • douglasklein2
  • luiz.loadsmart
  • mwconceicao
  • yidi0912
  • lenoir.zamboni
  • diogomafra
  • oliver.tso
  • loadsmart-frontend
  • brennervaz
  • raittes
  • welingtonms-loadsmart
  • gutofoletto