@subrotosaha/bangla-date
A simple utility package for string manipulation in JavaScript.
Found 9482 results for string manipulation
A simple utility package for string manipulation in JavaScript.
A collection of personal utilities to live a happier life
A NPM library that assists in text range manipulation
A collection of useful string manipulation utilities
A Node.js module offering various string manipulation functions for capitalization, initial capitalization of words, and specific casing of text.
A comprehensive collection of TypeScript/JavaScript utility functions for common programming tasks. Includes validation, object manipulation, date handling, string formatting, and more. Zero dependencies, fully typed, and optimized for performance.
Modify strings, generate sourcemaps
String and token manipulation
A simple utility library for string manipulation
A lightweight and powerful utility library for advanced string manipulation, case conversion, and formatting.
Simple string manipulation library
A collection of helpful utility functions for common JavaScript development and browser DOM manipulation tasks
A powerful and lightweight npm library for string manipulation.
Zero-dependency unicode-aware string tools
A utility for string manipulation
ANSI escape codes for styling strings in the terminal
A TypeScript utility library with functions for string manipulation and mathematical operations
Strip ANSI escape codes from a string
Terminal string styling done right
Regular expression for matching ANSI escape codes
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
Wordwrap a string with ANSI escape codes
Get the native type of a value.
Check if the character represented by a given Unicode code point is fullwidth
The string_decoder module from Node core
A comprehensive string manipulation utility library
Strip UTF-8 byte order mark (BOM) from a string
Parse JSON with more helpful errors
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Get a stream as a string, Buffer, ArrayBuffer or array
ANSI escape codes for manipulating the terminal
Returns true if a string has an extglob.
Strip the final newline character from a string or Uint8Array
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Slice a string with ANSI escape codes
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Indent each line in a string
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Parse String to Number based on configuration
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
ES5 spec-compliant shim for String.prototype.trim
Measure the difference between two strings using the Levenshtein distance algorithm
A robust HTML entities encoder/decoder with full Unicode support.
Querystringify - Small, simple but powerful query string parser.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
Normalize a URL
Strip redundant indentation and indent the string
Strip leading whitespace from each line in a string
Truncate a string to a specific width in the terminal
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Synthetic string orchestra. Curated list of string manipulation curried functions
Compile regular expressions' unicodeSets (v) flag.
A utility library for string manipulation
Small footprint URL parser that works seamlessly across Node.js and browser environments
Generate a cryptographically strong random string
Get the shortest leading whitespace from lines in a string
Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible
Generate a unique random string
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Detect the indentation of code
Repeat the given string n times. Fastest implementation for repeating a string.
Determine the East Asian Width of a Unicode character
Trim newlines from the start and/or end of a string
A function to extract any colors from a string
Get the visual width of the widest line in a string - the number of columns required to display it
Check if a string has ANSI escape codes
mdast utility to get the plain text content of a node
Functions for dealing with a PostgresSQL connection string
a few common utility template tags for ES2015
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
Fastest Levenshtein distance implementation in JS.
Parse regular expressions' unicodeSets (v) flag.
Wildcard matching tools
LZ-based compression algorithm
Convert object keys to camel case
Parse and stringify URL query strings
Check if a character is hexadecimal
Data manipulation library for Roblox
Check if a character is decimal
Compute ripemd160 of bytes or strings.
multi-line string manipulation with Fluent style API
Get the gzipped size of a string or buffer
Check if a character is alphanumerical
Easy way to split a string on a given character unless it's quoted or escaped.
CommonJS version - The smallest and fastest command-line coloring package on the internet
Convert a string to pascal case (upper camelcase).
Check if a character is alphabetical
Math and string formula parser.
Convert object keys from camel case
micromark utility to decode markdown strings
alters a string by replacing multiple range fragments in one fast pass
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
A module that parses a string as regular expression and returns the parsed value.
Create an array by repeating the given value n times.
Formatting Date objects as strings since 2013
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Isomorphic, functional type-checking for Javascript
Hashing made simple. Get the hash of a buffer/string/stream/file.
Split a string on the first occurance of a given separator
Get the system locale
Convert a string index to its line and column position
Simple micro templating
Convert a string to a valid safe filename
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Useful JS utilities.
Remove wrapping quotes from a string.
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Functional errors with formatted output
Various helper utilities
Useful utilities for working with Uint8Array (and Buffer)
Convert a value to a ReadableStream
ES2017 spec-compliant String.prototype.padEnd shim.
Repeat a string - fast
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Terminal string styling with tagged template literals
Returns `true` if the value is a primitive.
The smallest and fastest command-line coloring package on the internet
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Functions that surround a string with ansicolor codes so it prints in color.
Simple wildcard matching
Strip a substring from the start/end of a string
Remove the trailing spaces from a string.
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Check if a string is a URL
Stringify Object as tree structure
Escape strings for use as JavaScript string literals
hast utility to get the plain-text value of a node
Remove leading indentation from ES6 template literals.
Iterate any iterable JS value. Works robustly in all environments, all versions.
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Strip a byte order mark (BOM) from a string.
Serializes any DOM node into a String
Pluralize a word
The color gray, in ansi.
Get the line and column number of a specific character in a string
Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`
A simple string template function based on named or indexed arguments
Returns true if a windows file path has invalid characters.
Newline character converter
fast string hashing function
Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.
Check if a character is a whitespace character
Native JS murmur hash implementation
hast utility to get the plain-text value of a node according to the `innerText` algorithm
Check if a string is SVG
Check if a character is a word character
Find multiple RegExp matches in a string
Modern, strongly typed, and safe utility function library for JavaScript and TypeScript. Includes type checking, manipulation of arrays, objects, strings, dates, colors, numbers, regular expressions, and more. Compatible with Browser, Node.js, Deno, and B
Elegant spinner for interactive CLI apps
Regular expression for matching HTML comments
Beautiful color gradients in terminal output
Opinionated HTML formatter focused towards making HTML diffs readable.
Reduce function calls in a string, using a callback
DOMParser.parseFromString for XML with IE8 fallback
Jest snapshot serializer that beautifies HTML.
Simple javascript lib for converting a [comma || space] delimited string to an array
A collection of useful string manipulation utilities
Pure-JS printf
Convert Unicode characters to Latin characters using transliteration
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Slugify a string
Right pad a string with zeros or a specified string. Fastest implementation.
Remove any existing casing from a string.
A collection of handy string manipulation functions.
sprintf parser and basic formatter
Returns true if a file path does not contain any invalid characters.
Various helper utilities for working with buffers and binary data
ES2019 spec-compliant String.prototype.trimLeft shim.
The color cyan, in ansi.
The color red, in ansi.
Check if a string is an IP address
ES2017 spec-compliant String.prototype.padStart shim.
Returns true if the value passed is all whitespace.
Extensible string utility for converting, identifying and flipping string case
A small string manipulation library to capitalize letters based on rules
remove diacritics from strings
String encoding utilitlies extracted from TweetNaCl.js
Convert a string to space case.
nlcst utility to transform a tree to a string
Returns `true` if an array has a glob pattern.
ES2019 spec-compliant String.prototype.trimLeft shim.
sprintf formatting targetted for CLI
String manipulation extensions for Underscore.js javascript library. Forked from the underscore.string library at https://github.com/epeli/underscore.string.
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
String formatting inspired by Python's str.format()
Math and string formula parser.
Serialises error object to normal object
A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.
Lightweight format utility for the browser, based on util.format().
Check if a string only contains alphanumeric characters
Write data to a random temporary file
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Convert efficiently index to/from line-column in a string
Convert a string to camel case.
strings comparison matchers for chai
Similar to String#trim() but removes only newlines
Get the UTF-8 byte length of a string
Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)
Replace search occurrences with a replacement string.
Check if a string is HTML
Convert HTML/XML source code or DOM nodes to React elements
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
parses number and unit, '20px' into [20, 'px']
Test if a value is a string.
Insert supplied variable values into a format string.
Tokenize a string into an array of string parts and format identifier objects.
Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.
Consume a stream of data into a binary Buffer as efficiently as possible
Escape a regular expression string or pattern.
Test if a value is a regular expression string.
Strility is a string manipulation library
Iterator over lines in a string
Get the length of unicode strings
Convert between POSIX and Windows paths.
Convert a camelized/dasherized/underscored string into a humanized one: `fooBar-Baz_Faz` → `Foo bar baz faz`
Parse parentheses from a string
Get a property from an object using dot (object path) notation.
Generate string from a token array by interpolating values.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Escape a string for use in AppleScript
Create a regular expression from a regular expression string.
slugifies even utf-8 chars!
Split string by any separator excluding brackets, quotes and escaped characters
Allocate a buffer containing a provided string.
A robust & character encoding–agnostic JavaScript implementation of the `Quoted-Printable` content transfer encoding as defined by RFC 2045.
Pad strings to a given length
Regular expression for matching URLs
Return a regular expression to parse a regular expression string.
The fast way to check if a string is blank
Tagged template literal for Sanity.io GROQ-queries
Contains some util methods for converting numbers into words, ordinal words and ordinal numbers.
Convert a string into a stream (streams2)
parse a css color string
Strip ANSI color codes from a string. No dependencies.
Ansi codes, figlet fonts, and ascii art. 100% JS
Left pad a string with zeros or a specified string. Fastest implementation.
A fully Unicode-aware string reverser written in JavaScript.
small function to append a query string to a URL