Search results

63 packages found

find the closest package.json

published version 1.1.0, 8 years ago696 dependents licensed under $MIT
54,619,809

Implemets the CIEDE2000 color difference algorithm, conversion between RGB and LAB color and mapping all colors in palette X to the closest or most different color in palette Y based on the CIEDE2000 difference.

published version 1.4.0, 2 years ago47 dependents licensed under $BSD-3-Clause
1,216,394

Return the closest element matching a selector up the DOM tree

published version 3.0.2, 6 years ago188 dependents licensed under $CC0-1.0
992,385

a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm

published version 7.0.4, 8 months ago49 dependents licensed under $MIT
775,009

Compare your item to items in an array and get the closest one.

published version 0.0.4, 8 years ago7 dependents
878,000

Find the closest parent that matches a selector.

published version 0.0.1, 12 years ago103 dependents licensed under $MIT
100,324

For a given DOM element, find the first ancestor that matches a given CSS selector.

published version 0.2.0, 10 years ago405 dependents licensed under $MIT
340,379

A minimal polyfill for Element.closest

published version 1.0.7, 2 years ago36 dependents licensed under $ISC
183,531

MDN polyfills

published version 5.20.0, 5 years ago75 dependents licensed under $MIT
147,937

Computes the closest point to a polytope in arbitrary dimensions

published version 1.0.0, 11 years ago6 dependents licensed under $BOOST
91,267

Converts numbers into a more human-friendly format, similar to `ls`'s `--human-readable` flag (`ls -lh`) or Stack Overflow's reputation numbers. For example, 123456 becomes '123k'.

published version 2.1.1, 2 years ago20 dependents licensed under $MIT
64,544

Ember cli addon that includes a polyfill for closest() if needed.

published version 0.0.2, 5 years ago2 dependents licensed under $MIT
33,435

A kdtree data structure

published version 1.0.2, 7 years ago12 dependents licensed under $MIT
11,037

Find the closest package.json file meeting specific criteria

published version 1.0.0, 11 years ago12 dependents licensed under $MIT
12,450

reads the closest package.json file

published version 1.2.0, 10 years ago9 dependents licensed under $MIT
7,998

Given an array of dates, this module will find the date nearest to a given target date. Can be used to find the nearest number as well

published version 1.0.1, 8 years ago33 dependents licensed under $MIT
1,600

Get index of closest value in sorted array.

published version 1.1.7, 6 years ago1 dependents licensed under $MIT
1,361

Robust k closest element search based on Heap

published version 1.3.0, 7 years ago1 dependents licensed under $MIT
774

Get index of closest value in sorted array.

published version 0.2.4, 6 years ago4 dependents licensed under $MIT
1,446

Like Array.prototype.find, but for finding the closest match.

published version 7.0.1, 5 years ago3 dependents licensed under $MIT
749