Socket
Socket
Sign inDemoInstall

@loadsmart/utils-string

Package Overview
Dependencies
0
Maintainers
20
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @loadsmart/utils-string

useful functions for manipulating string


Version published
Weekly downloads
16
decreased by-69.23%
Maintainers
20
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 23 Nov 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc