Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
compute-cosine-similarity
Computes the cosine similarity between two arrays.
string-cosine-similarity
Calculates cosine similarity between 2 strings.
cos-similarity
Computes the cosine similarity between two vectors
fast-cosine-similarity
A very fast implementation of cosine-similarity for comparing two vectors. Up to 6x faster than the compute-cosine-similarity library.
ml-classify-text
Text classification using n-grams and cosine similarity
vector-cosine-similarity
Lightweight Cosine Similarity Function. Built as an alternative to the compute-cosine-similarity package. Works with high dimension vectors like openAI embeddings
@moeru-ai/cosine-similarity
Measures the similarity between two non-zero vectors.
semantic-autocomplete
A blazing-fast semantic search React component. Match by meaning, not just by letters. Search as you type without waiting (no debounce needed). Rank by cosine similarity.
compute-cosine-distance
Calculate the cosine distance between arrays
semantic-chunking
Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).
covectric
Covectric is a simple vector based search engine using cosine similarity and tf-idf methods for finding text similarity.
@stdlib/math-base-special-cos
Compute the cosine of a number.
@stdlib/math-base-special-kernel-cos
Compute the cosine of a double-precision floating-point number on [-π/4, π/4].
cos1ne-similarity
Measures similarity between two Strings calculating the cosine of the angle between them.
vector-space-model-similarity
this module is using for calculating the cosine similarity and vector space model using tfidf
talisman
Straightforward fuzzy matching, information retrieval and NLP building blocks for JavaScript.
cosim
Compute the cosine similarity of two vectors. Fully typed, 0 dependencies.
@stdlib/math-base-special-tan
Evaluate the tangent of a number.
@stdlib/stats-base-dists-cosine-cdf
Raised cosine distribution cumulative distribution function (CDF).
disi
A collection of distance and similarity metrics written in pure JS