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