string-to-stream
Convert a string into a stream (streams2)
Found 512 results for str stream
Convert a string into a stream (streams2)
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).
Get the shortest leading whitespace from lines in a string
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Similar to String#trim() but removes only newlines
Generate string from a token array by interpolating values.
Test if a value is a regular expression string.
Iterator over lines in a string
Test if a value is a string.
Insert supplied variable values into a format string.
Convert between POSIX and Windows paths.
Convert a string to lowercase.
Replace search occurrences with a replacement string.
parses number and unit, '20px' into [20, 'px']
Tokenize a string into an array of string parts and format identifier objects.
Allocate a buffer containing a provided string.
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Split lines into an array of lines
Safely remove repeating whitespace from HTML text.
Convert a string to lowercase.
3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.
Replace search occurrences with a replacement string.
Terminal string styling done right
Returns the first index at which a given element can be found.
Return the first index at which a given element can be found.
Converts the given value to a string.
colorize console log, this module can work with require('debug')
Determines whether a string ends with the characters of another string.
Transform any value to stream. Create a stream from any value - string, array, buffer, number, promise or even Error object.
Trim whitespace characters from the beginning and end of a string.
ES spec-compliant String.prototype.padStart shim.
Check if a String/Buffer is TTF
Check if a String/Buffer/ArrayBuffer is OTF
Convert number to a human readable string: `13500` → `13.5K`
Tokenize a string into words and whitespace tokens
Test if an array-like value contains a search value.
Terminal string styling done right
Create a string from a sequence of Unicode code points.
Capitalize the first character in a string.
convert full/half width, Chinese/Japanese number, 中日漢字轉換... others util helper
String package provides functionality to generate a fake string value.
ES7 spec-compliant String.prototype.padEnd shim.
Convert a UTF-16 encoded string to an array of integers using UTF-8 encoding.
Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.
A Javascript string manipulation library without npm dependences.
Ansi codes, figlet fonts, and ascii art. 100% JS
Convert a string to Pascal case.
Check if a given value is a string that represents natural number
Convert a string to Pascal case.
Convert SRT format subtitle to WebVTT on the fly over HTML5 environment
Convert a string to uppercase.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Return a Unicode code point from a string at a specified position.
Array of RegExp.prototype.exec results
``` _ _ _ (_)(_) | | __ _ ___ ___ _ _ ______ __ _ _ __ | |_ / _` |/ __| / __|| || ||______| / _` || '__|| __| | (_| |\__ \| (__ | || | | (_| || | | |_ \_
Ansi codes for ascii-art
Return the next extended grapheme cluster break in a string after a specified position.
Return a Unicode code point from a string at a specified position.
Remove punctuation characters from a string.
Grapheme cluster break tooling.
Capitalize the first character in a string.
Write terminal strings in UTF typefaces
Repeat a string
Generate an acronym for a given string.
Uncapitalize the first character of a string.
decode/encode git style utf8
Util.format-like string formatting utility.
Uncapitalize the first character of a string.
Repeat a string a specified number of times and return the concatenated result.
Calculates the Levenshtein (edit) distance between two strings.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Trim whitespace characters from the beginning and end of a string.
Transform ES2015 Promise to Stream - specifically, Transform Stream using [through2][]. Works in object mode by default, but you can pass options directly to the [through2][] package.
Create an iterator which iterates over grapheme clusters.
Left pad a string.
Repeat a string a specified number of times and return the concatenated result.
Right pad a string.
The [strman](https://github.com/dleitee/strman) method `touppercase` exported as a [Node.js](https://nodejs.org/) module.
Parse a string as JSON.
Right pad a string.
The [strman](https://github.com/dleitee/strman) method `tostudlycaps` exported as a [Node.js](https://nodejs.org/) module.
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)
Repeat a string a specified number of times and return the concatenated result.
Left pad a string.
React data fetching hooks using stale-till-revalidate policy.
Remove a UTF-8 byte order mark (BOM) from the beginning of a string.
Remove a list of words from a string.
Special RegExp characters, useful for escaping.
Returns true if string has a byte order mark (BOM)
Parse JSON with more helpful errors
Convert a string to uppercase.
Percent-encode a UTF-16 encoded string according to RFC 3986.
Return the number of grapheme clusters in a string.
Split a string by its grapheme cluster breaks.
Truncate a string in the middle to a specified length.
Left pad a string.
Test if a string starts with the characters of another string.
Truncate a string to a specified length.
Find multiple RegExp matches in a string
Capitalize the first letter of each word in a string.
Replaces all occurences of a string in another string.
Test if a string starts with the characters of another string.
---
Capitalize the first letter of each word in a string.
a regexp-cjk plugin demo for regexp-cjk ( 自動配對 五十音的清/濁音 , 半形/全形 , deburr )
Count case-sensitive occurrences of a string in a string (like needles in a haystack)
The [strman](https://github.com/dleitee/strman) method `removespaces` exported as a [Node.js](https://nodejs.org/) module.
Right pad a string.
Test if a string ends with the characters of another string.
The [strman](https://github.com/dleitee/strman) method `replace` exported as a [Node.js](https://nodejs.org/) module.
ES6+ module to easily add ANSI colors to your browser console and node terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
Convert a string to kebab case.
Return the part of a string after a specified substring.
Return the part of a string before a specified substring.
Arr, Hash, Is, Obj, Random, Str, Wrandom.
Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.
Truncate string
Detect a string or buffer is SVG or not
Javascript Version's of Laravel's Illuminate\Support\Str
Native Reason ANSI terminal styling with an awesome API
Determines whether a string begins with the characters of another string.
Test if a string ends with the characters of another string.
Convert a string to Pascal case.
Regular expression matching for URL's. Maintained, and browser-friendly version of url-regex. This package is vulnerable to CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Hexadecimal utilities
Pad a string.
A package made specifically for providing you with all the javascript console colours and styles you'll ever need as simple functions!
Convert a string to camel case.
Convert a string to kebab case.
Terminal string styling done right
Convert string to object and fix syntax errors.
Cli colors for deno, built on chalk
Convert a string to camel case.
JavaScript utilities for arrays.
Test whether a string contains only numeric digits.
The [strman](https://github.com/dleitee/strman) method `lefttrim` exported as a [Node.js](https://nodejs.org/) module.
Reverse the UTF-16 code units of a string.
Convert a string to snake case.
The [strman](https://github.com/dleitee/strman) method `righttrim` exported as a [Node.js](https://nodejs.org/) module.
Replace everything inside a String.prototype
Reverse a string.
The [strman](https://github.com/dleitee/strman) method `trim` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `tolowercase` exported as a [Node.js](https://nodejs.org/) module.
Parcol is a utility for parsing all ANSI colors methods in a string.
The [strman](https://github.com/dleitee/strman) method `transliterate` exported as a [Node.js](https://nodejs.org/) module.
Remove the first Unicode code point of a string.
Remove the first grapheme cluster (i.e., user-perceived character) of a string.
A better console.log for terminal
The [strman](https://github.com/dleitee/strman) method `slugify` exported as a [Node.js](https://nodejs.org/) module.
Trim whitespace characters from the beginning of a string.
Test if a value is a regular expression string.
Remove the first character(s) of a string.
Test whether a string contains only alphanumeric characters.
The [strman](https://github.com/dleitee/strman) method `ascii` exported as a [Node.js](https://nodejs.org/) module.
String utility functions for clean and consistent text handling in JavaScript.
Remove the first UTF-16 code unit of a string.
Convert a string to snake case.
Remove the last UTF-16 code unit of a string.
Test if a value is an empty string.
Scriptus is an useful tool to work with strings
Trim whitespace characters from the end of a string.
Return the part of a string after the last occurrence of a specified substring.
Test whether a value is a property key.
Test whether a string contains only hexadecimal digits.
Trim whitespace characters from the end of a string.
Trim whitespace characters from the beginning of a string.
Reverse the grapheme clusters (i.e., user-perceived characters) of a string.
Test whether a string contains only white space characters.
Return the part of a string before the last occurrence of a specified substring.
Reverse the Unicode code points of a string.
Return the previous extended grapheme cluster break in a string before a specified position.
Convert a string to HTTP header case.
Convert a string to constant case.
Test if a value is a domain name.
Find the nearest string with a given string
Remove the last Unicode code point of a string.
Trim `n` characters from the beginning of a string.
⚙️ String manipulation library
Test whether a string matches a Node.js built-in module name.
Convert a string to constant case.
Remove the last grapheme cluster (i.e., user-perceived character) of a string.
Remove the last character(s) of a string.
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).
Trim `n` characters from the end of a string.
Repeat a string a specified number of times and return the concatenated result.
Better logging for a better world.
Print anything on terminal
Parses a URI-like query string and returns an object composed of parameter/value pairs.
A lib to easily manipulate strings
Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe
String matcher that output the input string replacing the match.
The [strman](https://github.com/dleitee/strman) method `substr` exported as a [Node.js](https://nodejs.org/) module.
Return a random string.
This module is based on the npm chalk module and it´s 80% faster than the original by using multiple different techniques like compressing, minify and rewriting a lot of interal source code from the original module with newer methods.
Easy-to-Use String Edit and String Tools.
Break string into lines according to visual width
Node.js doesn't show colors when it comes to logging/debugging. This package solves this problem and improves actual logging by adding a bunch of the other colors.
Convert a string to camel case.
Pad a string.
The [strman](https://github.com/dleitee/strman) method `case` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `indexof` exported as a [Node.js](https://nodejs.org/) module.
Return the number of grapheme clusters in a string.
Fully-customizable random string generator
The [strman](https://github.com/dleitee/strman) method `endswith` exported as a [Node.js](https://nodejs.org/) module.
Turns an object into its URL-encoded query string representation.
converts a css matrix string into a mat4 array
The [strman](https://github.com/dleitee/strman) method `removeright` exported as a [Node.js](https://nodejs.org/) module.
Extract a subset of lines from a string efficiently
Percent-encode a UTF-16 encoded string according to RFC 3986.
The [strman](https://github.com/dleitee/strman) method `isuppercase` exported as a [Node.js](https://nodejs.org/) module.
Easy way to get the indent of a string, whether file content or simple string.
Change the indentation in a string.
converts a css matrix string into a mat4 array
Generate NFOs from markdown
The [strman](https://github.com/dleitee/strman) method `surround` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `decdecode` exported as a [Node.js](https://nodejs.org/) module.
Remove a UTF-8 byte order mark (BOM) from the beginning of a string.
This is just a collection of assorted functions, classes, and premade variables.
The [strman](https://github.com/dleitee/strman) method `tocamelcase` exported as a [Node.js](https://nodejs.org/) module.
Return the first UTF-16 code unit of a string.
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Return the first grapheme cluster (i.e., user-perceived character) of a string.
Convert string to color
Convert a string to HTTP header case.
Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.
Generate unique ID
Convert a number to a word representation.
Return the position of the next Unicode code point in a string after a specified position.
The [strman](https://github.com/dleitee/strman) method `lastindexof` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `htmldecode` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `removeleft` exported as a [Node.js](https://nodejs.org/) module.
Truncate a string in the middle to a specified length.
The [strman](https://github.com/dleitee/strman) method `htmlencode` exported as a [Node.js](https://nodejs.org/) module.
Replace the substring before the first occurrence of a specified search string.
Change the indentation in a string.
A string utility library.
Find the nth position of a pattern in a string
The [strman](https://github.com/dleitee/strman) method `decode` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `prepend` exported as a [Node.js](https://nodejs.org/) module.
Chalk for stderr
The [strman](https://github.com/dleitee/strman) method `entitiesdecode` exported as a [Node.js](https://nodejs.org/) module.
Capitalize the first character in a string.
Convert a string to constant case.
Convert a string to kebab case.
Adds a cow to the left of a string
The [strman](https://github.com/dleitee/strman) method `append` exported as a [Node.js](https://nodejs.org/) module.
The [strman](https://github.com/dleitee/strman) method `inequal` exported as a [Node.js](https://nodejs.org/) module.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
The [strman](https://github.com/dleitee/strman) method `todecamelize` exported as a [Node.js](https://nodejs.org/) module.