similarity
How similar are these two strings?
Found 9484 results for string similarity
How similar are these two strings?
Calculates similarity between two strings
Calculates cosine similarity between 2 strings.
Fuzzy filtering and string similarity scoring - compatible with fuzzaldrin
Find similarity between two strings, based on Dice Similarity Coefficient DSC
Simply sort by similarity, starring Levenshtein via leven
A utility to compare strings for similarity
String's percent similarity
A Node.js package to calculate string similarity.
Get string similarity in JavaScript or TypeScript
Compare strings with best suitable algorithm for your need
A TypeScript library for string similarity comparison
provides functions for comparing and calculating the similarity between two strings using various methods.
Finds degree of similarity between strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
Compare Strings Similarity Based on Levenshtein Distance Algorithm
A string similarity comparison tool, which is the front-end implementation version of Java string similarity. To maintain consistency with the string similarity algorithm in Java string similarity。
Document classification using tesseract.js and string-similarity-js.
Finds measure of similarity between two strings using Ochiai coefficient.
To find similarity between two words/string
Returns a difference between two strings using soundex, levenshtein distance or both.
A node for comparing the similarity of two strings, based on the aceakash/string-similarity npm module.
Color a given set of N strings into a set of M<N color classes
Fast String Similarity Library for Node.js
Measure the difference between two strings using the Levenshtein distance algorithm
Finds measure of similarity/distance between two input sets.
Fastest Levenshtein distance implementation in JS.
compute and verify string similarity
Fuzzy string matching algorithms and utilities, port of the TheFuzz Python library.
Calculates the similarity of 2 string arrays and sorts the seconds one by similarity to first
Jaro-Winkler typescript implementation
ANSI escape codes for styling strings in the terminal
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Strip ANSI escape codes from a string
Terminal string styling done right
Regular expression for matching ANSI escape codes
Escape RegExp special characters
Get the visual width of a string - the number of columns required to display it
Wordwrap a string with ANSI escape codes
The string_decoder module from Node core
Get the native type of a value.
Check if the character represented by a given Unicode code point is fullwidth
Get a stream as a string, Buffer, ArrayBuffer or array
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Strip UTF-8 byte order mark (BOM) from a string
Parse JSON with more helpful errors
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
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
Modify strings, generate sourcemaps
Matches strings against configurable strings, globs, regular expressions, and/or functions
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
Slice a string with ANSI escape codes
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.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Indent each line in a string
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.
Sørensen–Dice coefficient
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Parse String to Number based on configuration
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Strip leading whitespace from each line in a string
ES5 spec-compliant shim for String.prototype.trim
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
A robust HTML entities encoder/decoder with full Unicode support.
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).
Querystringify - Small, simple but powerful query string parser.
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Normalize a URL
Small footprint URL parser that works seamlessly across Node.js and browser environments
Strip redundant indentation and indent the string
Truncate a string to a specific width in the terminal
Compile regular expressions' unicodeSets (v) flag.
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 cryptographically strong random string
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Fastest implementation of Sørensen–Dice coefficient.
Generate a unique random string
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
Parse regular expressions' unicodeSets (v) flag.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
LZ-based compression algorithm
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
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
Functions for dealing with a PostgresSQL connection string
mdast utility to get the plain text content of a node
Check if a character is alphabetical
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
Convert object keys to camel case
a few common utility template tags for ES2015
Wildcard matching tools
Parse and stringify URL query strings
Compute ripemd160 of bytes or strings.
Check if a character is decimal
Check if a character is hexadecimal
Get the gzipped size of a string or buffer
Check if a character is alphanumerical
Create an array by repeating the given value n times.
micromark utility to decode markdown strings
CommonJS version - The smallest and fastest command-line coloring package on the internet
Easy way to split a string on a given character unless it's quoted or escaped.
Math and string formula parser.
Convert a string to pascal case (upper camelcase).
Convert object keys from camel case
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.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Formatting Date objects as strings since 2013
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
Various helper utilities
Convert a string index to its line and column position
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Simple micro templating
Repeat a string - fast
Convert a string to a valid safe filename
Calculates similarity between two strings
Remove wrapping quotes from a string.
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
Functional errors with formatted output
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Convert a value to a ReadableStream
ES2017 spec-compliant String.prototype.padEnd shim.
Useful utilities for working with Uint8Array (and Buffer)
Strip a substring from the start/end of a string
Terminal string styling with tagged template literals
The smallest and fastest command-line coloring package on the internet
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Returns `true` if the value is a primitive.
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
Remove the trailing spaces from a string.
Check if a string is a URL
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Escape strings for use as JavaScript string literals
Remove leading indentation from ES6 template literals.
fast string hashing function
Stringify Object as tree structure
Iterate any iterable JS value. Works robustly in all environments, all versions.
Serializes any DOM node into a String
Pluralize a word
Get the line and column number of a specific character in a string
hast utility to get the plain-text value of a node
String manipulation extensions for Underscore.js javascript library.
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.
Newline character converter
The color gray, in ansi.
Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`
Returns true if a windows file path has invalid characters.
A simple string template function based on named or indexed arguments
Elegant spinner for interactive CLI apps
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.
Native JS murmur hash implementation
hast utility to get the plain-text value of a node according to the `innerText` algorithm
Check if a character is a whitespace character
Check if a string is SVG
Check if a character is a word character
Right pad a string with zeros or a specified string. Fastest implementation.
Find multiple RegExp matches in a string
Jest snapshot serializer that beautifies HTML.
Beautiful color gradients in terminal output
DOMParser.parseFromString for XML with IE8 fallback
Regular expression for matching HTML comments
Opinionated HTML formatter focused towards making HTML diffs readable.
Reduce function calls in a string, using a callback
ES2017 spec-compliant String.prototype.padStart shim.
Check if a string is an IP address
Convert Unicode characters to Latin characters using transliteration
Slugify a string
Various helper utilities for working with buffers and binary data
Pure-JS printf
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Remove any existing casing from a string.
Returns true if a file path does not contain any invalid characters.
sprintf parser and basic formatter
The color cyan, in ansi.
ES2019 spec-compliant String.prototype.trimLeft shim.
Returns true if the value passed is all whitespace.
nlcst utility to transform a tree to a string
The color red, in ansi.
Convert a string to space case.
Extensible string utility for converting, identifying and flipping string case
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
ES2019 spec-compliant String.prototype.trimLeft shim.
Returns `true` if an array has a glob pattern.
remove diacritics from strings
String encoding utilitlies extracted from TweetNaCl.js
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
sprintf formatting targetted for CLI
String formatting inspired by Python's str.format()
Math and string formula parser.
calculate similar of strings, support chinese.
Serialises error object to normal object
Lightweight format utility for the browser, based on util.format().
A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.
Convert a string to camel case.
Check if a string only contains alphanumeric characters
Convert efficiently index to/from line-column in a string
Similar to String#trim() but removes only newlines
Prompt engineering text similarity matchers for Jest
Write data to a random temporary file
strings comparison matchers for chai
Zero-dependency unicode-aware string tools
Check if a string is HTML
compare the similarity of two string
Replace search occurrences with a replacement string.
Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)
Pad strings to a given length
Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.
The fast way to check if a string is blank
Heuristic Distance/Similarity Between Strings (sift4 and levenshtein distance)
Convert HTML/XML source code or DOM nodes to React elements
Iterator over lines in a string
parses number and unit, '20px' into [20, 'px']
Consume a stream of data into a binary Buffer as efficiently as possible
Test if a value is a string.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Insert supplied variable values into a format string.
Parse parentheses from a string
Convert between POSIX and Windows paths.
Tokenize a string into an array of string parts and format identifier objects.
Test if a value is a regular expression string.
Escape a regular expression string or pattern.
Convert a camelized/dasherized/underscored string into a humanized one: `fooBar-Baz_Faz` → `Foo bar baz faz`
Generate string from a token array by interpolating values.
Get the length of unicode strings
Get a property from an object using dot (object path) notation.
Convert a string to lowercase.
A robust & character encoding–agnostic JavaScript implementation of the `Quoted-Printable` content transfer encoding as defined by RFC 2045.
Contains some util methods for converting numbers into words, ordinal words and ordinal numbers.
Escape a string for use in AppleScript
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Allocate a buffer containing a provided string.
Create a regular expression from a regular expression string.
Return a regular expression to parse a regular expression string.
Split string by any separator excluding brackets, quotes and escaped characters
slugifies even utf-8 chars!
Tagged template literal for Sanity.io GROQ-queries