🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@loadsmart/utils-string

Package Overview
Dependencies
Maintainers
20
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/utils-string

useful functions for manipulating string

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
20
Created
Source

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>
)

Keywords

string

FAQs

Package last updated on 23 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts