es-string-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

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

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i es-string-utils

    Weekly Downloads

    6

    Version

    0.0.9

    License

    Apache-2.0

    Unpacked Size

    32 kB

    Total Files

    7

    Last publish

    Collaborators

    • iaman0004