Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es-string-utils

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-string-utils

A collection of utility functions to manipulate string in javascript and typescript

  • 0.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ES String Utils

NPM

A collection of utility functions which Javascript/Typescript misses for string manipulation in javascript and typescript.

Installation using npm

npm install es-string-utils --save

Installation using yarn

yarn add es-string-utils

Usage with es6 import

import { containsAnyIgnoreCase, capitalize } from 'es-string-utils';

const contains = containsAnyIgnoreCase('This is the source string', 'tocheck'); //false

const capitalizedText = capitalize('capitalize This strinG'); //Capitalize This String

Usage with plain old javascript

const stringUtils = require('es-string-utils');

const contains = stringUtils.containsAnyIgnoreCase('This is the source string', 'tocheck'); //false

const capitalizedText = stringUtils.capitalize('capitalize This strinG'); //Capitalize This String

Available Methods

many more on the way

Author

LinkedIn

Keywords

FAQs

Package last updated on 21 Aug 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc