Search results

63 packages found

find the closest package.json

published version 1.1.0, 8 years ago662 dependents licensed under $MIT
65,595,727

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,281,116

Return the closest element matching a selector up the DOM tree

published version 3.0.2, 6 years ago181 dependents licensed under $CC0-1.0
1,119,412

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

published version 7.0.4, 10 months ago45 dependents licensed under $MIT
778,440

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

published version 0.0.4, 8 years ago7 dependents
944,126

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

published version 0.2.0, 10 years ago341 dependents licensed under $MIT
408,742

MDN polyfills

published version 5.20.0, 5 years ago60 dependents licensed under $MIT
199,106

Find the closest parent that matches a selector.

published version 0.0.1, 12 years ago95 dependents licensed under $MIT
83,716

A minimal polyfill for Element.closest

published version 1.0.7, 2 years ago35 dependents licensed under $ISC
176,471

Computes the closest point to a polytope in arbitrary dimensions

published version 1.0.0, 11 years ago6 dependents licensed under $BOOST
116,106

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

published version 0.0.2, 5 years ago2 dependents licensed under $MIT
42,402

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
59,248

Find the closest package.json file meeting specific criteria

published version 1.0.0, 11 years ago12 dependents licensed under $MIT
28,240

reads the closest package.json file

published version 1.2.0, 10 years ago9 dependents licensed under $MIT
23,849

A kdtree data structure

published version 1.0.2, 8 years ago13 dependents licensed under $MIT
9,299

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, 9 years ago29 dependents licensed under $MIT
2,317

A function that, when given a target number and an array of numbers, will return the array value closest to the target.

published version 2.0.0, 8 years ago2 dependents licensed under $MIT
1,339

Binary searches closest value in sorted array.

published version 2.9.12, 5 years ago0 dependents licensed under $MIT
1,360

Get index of closest value in sorted array.

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

Utility functions around AWS Regions, like getting the closest region.

published version 0.0.3, 8 months ago0 dependents licensed under $ISC
1,429