get-closest
Compare your item to items in an array and get the closest one.
Found 2939 results for get
Compare your item to items in an array and get the closest one.
make streaming http requests
Use Ky in both Node.js and browsers
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Similar to assign-value but deeply merges object values or nested values using object path/dot notation.
Pruned version of the 'get-pixels' package by Mikola Lysenko (only node.js and local fs files)
A tiny get function, similar to Lodash.get
Get installation path where the given package is installed. Works for globally and locally installed packages
Access nested property values at any depth with a simple expression.
Get the default iterator or async iterator for an iterable or async iterable
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some p
Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.
Utils to deal with TCP ports and hostnames. Safe for everyday use.
Get a list of function's argument variable names
Get PID from a port
Get the user's default shell
Extract domain name from URL
Easily edit a json file from the CLI or NodeJS
Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.
Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged
Easily persist and load config data. No dependencies.
Simple API for managing options in JavaScript applications.
get value at property, don't throw if parent is undefined
Human-friendly and powerful HTTP request library for Node.js
Utility for getting an assemble view from a collection object.
The official low-level GetStream.io client for Node.js and the browser.
Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.
A library to easily scrape metadata from an article on the web using Open Graph, JSON+LD, regular HTML metadata, and series of fallbacks.
Use package.json as a config store.
Get all URLs in a string
Define a non-enumerable read-only accessor.
Immutable version of dot-prop with some extensions
NestJs CRUD for RESTful APIs - request query builder
PostHTML plugin for fetching and displaying remote or local content.
Get the package.json of the currently executing bin.
Get or set a deep value using a keypath string. Supports bracket and dot notation
gets multiple open ports
Flatten/unflatten color values from theme with nested objects
gets a palette of prominent colors from an array of pixels
Predefine your Object.defineProperties to create a more human readable API.
Lazily evaluates a getter on an object and caches the returned value
🐡 Get, set, remove, and test for deeply nested properties
NestJs CRUD for RESTful APIs - request query builder
Tiny and elegant HTTP client based on the Fetch API
Uniquely flexible and light-weight utility for cloning and deep (recursive) merging of JavaScript objects. Supports descriptor values, accessor functions, and custom prototypes. Provides advanced options for customizing the clone/merge process.
Download any repository or subdirectory on GitHub with support for Node.js and the CLI
Get the PATH environment variable key cross-platform. This is a fork of sindresorhus/path-key, but with CommonJS support.
Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
Get all NPM package names
Define a non-enumerable read-write accessor.
Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library can do this!).
Return an accessor function for retrieving an element from an indexed array-like object.
Return an accessor function for retrieving an element from an array-like object supporting the get/set protocol.
Find paths in objects to given key('s), value('s) or key/value combinations
The smallest, yet handy, Map and WeakMap utility ever
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Get the 'src' value from any string containing a src="" (embed, iframe, html, etc).
Use dot notation to get properties from deeply nested object and array structures.
Get user info of an npm user
Get the email of an npm user
Get the unicode code of an emoji.
Type-safe library for reading, writing, or checking, nested values of an object
router for use-* middlewares
Reads the pixels of an image as an ndarray
Light-weight wrapper for the newer Promise-based MediaDevices.getUserMedia API with a fallback to navigator.getUserMedia (and it's prefixed variants)
Generic file download utility
Functions that work on both Maps and Objects: has, get, set, delete, entries, keys, values, etc.
Retrieves a property only if hasOwnProperty() is true.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Low-level methods for working with the GitHub API in node.js/JavaScript.
Get a property from a nested object using a dot path or custom separator
Use powerful dot notation (dot path + wildcard) to manipulate properties of JSON
Get a directory file tree as an object.
Easily generate API client's SDK — organize and simplify API Requests.
Generates a preview of the part of the code where an Error came from
Safely get deep nested properties using dot notation
Pluck nested properties from an object
Get property value by dot notation
Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.
Convenience wrapper for `got` to interact with the GitLab API
Reads the pixels of an image as an ndarray
Does one simple thing - gets the flags from a regular expression. Useful for cloning and any library that uses or generates regular expressions that are created from other regular expressions.
Protect Got requests from SSRF
Advanced fetch client builder for typescript.
Get CSS from a URL
Mimic a Node.js HTTP response stream. This is a fork of sindresorhus/mimic-response, but with CommonJS support.
Human-friendly and powerful HTTP request library for Node.js. This is a fork of sindresorhus/got, but with CommonJS support.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
General HTTP request body parser
800 bytes modern wrapper around fetch with smart defaults
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
Lookup the fully qualified domain name ("FQDN") of the current server's IP (default) or a custom IP. 90x faster than `hostname -f` and works with Node v6.4+.
Get Sass variables as JSON object.
A minimal-weight lodash.get equivalent utility
Get the machine IP on the local network.
Get ISO 3166-1 alpha-3 country code for geographic coordinates.
A simple and effective promise-based HTTP & HTTP/2 request library that supports all HTTP methods.
Super small library to retrieve values and attributes from the XML AST generated by xml-reader
Get the package.json for a project from npm.
Simple module for getting the current mouse position in element or window.
Get and set nested variables of an object, includes support for Backbone Models
Get all href urls from an HTML string
Convenience wrapper for Got to interact with AWS v4 signed APIs
get all keys of object
Get the methods of a JavaScript class.
Synchronous HTTP request library.
Reads the pixels of an image as an ndarray
A through2 to create a lodash.get analog for streams
Get the char width/height proportions in different terminal emulators.
An array is a collection of values, stored contiguously.
Uniquely flexible and light-weight utility for cloning and deep (recursive) merging of JavaScript objects. Supports descriptor values, accessor functions, and custom prototypes. Provides advanced options for customizing the clone/merge process.
Get the static methods of a JavaScript class.
Deep get a nested property.
Return element accessors for a provided array-like object.
Common typescript ready prototypes available in both CommonJS and ECMAScript
Get all symbolic link (file symlinks) using glob
<h3 align="center"> @merger203/expert-invention </h3>
Get current week number of the current year,given Date format string or Date object.
Get all 4-byte characters form a string
An iterable is a sequence of values.
Easily get raw data from Sequelize instances
This library is based on Javascript and it will contain some functions to make Rest API requests (GET / POST / PUT / PATCH / DELETE)
A wrapper around Fetch just for JSON
Reads the pixels of an image as an ndarray
gets a plane's normal from 3 points
get machine's uuid
Return an accessor function for retrieving an element from an array-like object.
Get the HTML from any website, fine-tuned for correction & speed
Extract values and paths from AST by keys OR set them by keys
Filter an object using glob patterns and dot notation.
Making fetch happen in Typescript.
Access(read, write and delete) an object by hierarchical keys.
Cordova plugin to inject a dummy cookie in a WKWebView instance. This is necessary to get the sync process started.
data-cy shorthand notation for cypress get and find functions
Submit form data from an object easily
get the property value from a nested object by using the dot path `a.b.c`
Get the dependents' names of a npm package.
Sets or gets an object field value.
NestJs CRUD for RESTful APIs - request query builder
Get your public IP address — very fast!. This is a fork of sindresorhus/public-ip, but with CommonJS support.
Methods for working with the GitHub Gist API. Node.js/JavaScript
HTTP(S) GET with promises, supports redirects
Get and set object properties by path where you can specify the separator.
Convenience wrapper for got to interact with GraphQL
Fetch DB entries in batches to improve performance while respecting IPC size constraints
Assign a value or extend a deeply nested property of an object using object path notation.
set a new property in a js object and return the value of the given property
pull out data from stream
Get all email addresses in a string
a simple sftp client built on top of ssh2
Pluck nested properties from an object with support for wildcards
Get or set a value in an object/array using a dot-delimited string or array of keys.
Human-friendly and powerful HTTP request library for Node.js
Cors proxy for requests
Percentage helper functions.
Inverse complementary error function.
General purpose JavaScript object storage methods.
A slightly higher-level HTTP client for node.
Transparently provide default values to objects
A wrapper for `bogdanfinn/tls-client` based on ffi-rs for unparalleled performance and usability. Inspired by @dryft/tlsclient
Fast library for manipulating plain objects using paths.
Gets the value at `path` of `object` (with an optional `default`)
Extensions to the core @testing-library query API
Returns a git repository's first commit as a JavaScript object.
Inverse error function.
Crawl a URL to generate a sitemap and find 404 errors with one command
Object.assign() with super powers
Get an available TCP port (a minimal CJS module)
A lightweight library to asynchronously load scripts on the fly.
Pass an array of object paths (e.g. `a.b.c`) and get the first non-undefined value if the property exists, or null if it does not.
Get function arguments, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
express middleware for file sitemap.xml
Fetch via HTTP/HTTPS using got with automatic resume after network failures
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
Get native `Promise` or falsey value if not available.
Get the GitHub repository URL from a NPM package name.
Get the git commithash within a Range from-to
DEPRECATED - use set-value instead.
Extract numbers from text
Collapse an object into a string using the syntax from expand-object. This syntax is pretty handy for setting command line arguments, for expanding/collapsing test fixtures, etc.
Convenience wrapper for `got` to interact with the Travis API
Get information about your Battery
Stable and lovely router for [koa][], using [path-match][]. Foundation for building powerful, flexible and RESTful APIs easily.
Get, set, or delete a property from a nested object using a dot path refactored for typescript
Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.
Define a read-only accessor.
Intelligent URL parser
Transform custom string to domain url (validate possible domain by duck-style)
Easily persist and load config data. No dependencies.
get data with dot notation
从E621抓取帖子。支持搜索、引用、随机。
http client for node, inspired by Square's Android OkHttp
Error function.
A wrapper around download-file package to make it return a promise.
Get function name with strictness and correctness in mind. Also works for arrow functions and getting correct name of bounded functions. Powered by [fn-name][].
Define a read-write accessor.
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)
Simple modern way to make http requests. Supports HTTPS, ES6, JSON and Promises
Get the terminal size.
Find object recursively by query
get all end keys of object
Get URLs to download mozilla products from
Gets nested properties.
A TypeScript utility library focused on deep operations for objects and arrays with full type safety. Similar to Lodash, but narrower in scope and fully written in TypeScript to maximize typing support.
normalizes a 2D path to its bounding box
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.
A simple React hook for GETting and POSTing data
Track pending async HTTP requests
Load `request` module from either CWD or npm CLI directory
Transform path string to path array
A laravel mix extension that allow us to get the webpack config as a string. So we do whatever we want with it.<br> Including writing to files. Unlike `.dump()` component that only print to console.
Get the value at path of object.
replacement for Object.defineProperty
Download PDF files
get a value from an object within other objects safely
get element by id
A utility to get the sub-schema from a JSON-schema from the path in an object
Simple to use node.js FTP client for downloading remote files
Complementary error function.
NestJs CRUD for RESTful APIs - request query builder
Utils for daily use
A small library for using and manipulating key path in JavaScript.
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Extremely stable HTTP request module built on top of libcurl
Get an array of a specific key from an array of object
Get remaining elements starting from the given index.
Object cache for [Plasma].
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
Computes an element-wise absolute value.
Computes an element-wise principal square root.
Immutable `get`, `set`, `has`, `unset` deep path operations libraray for object, array and `Map`.
A lightweight and simple package for making requests using fetch
synchronously read files from a directory
<p align="center"> <a href="https://halsp.org/" target="blank"><img src="https://halsp.org/images/logo.png" alt="Halsp Logo" width="200"/></a> </p>
This package includes a set of useful array methods that facilitates working with arrays, specifically the arrays that contain objects or arrays even falsy values (such as: 0, null, false, NaN...). This package is es5 supported.
Type-safe nested object access and manipulation for TypeScript 🚀
Get package info for one or more packages.
Returns the status of an HTTP get request.
Get unique and sequential current week identifier for given valid `Date` string format or Date object.
A class to create a new fettuccine wrapper that defaults to the given options
Reads the pixels of an image as an ndarray
Global access to all CallSite/Stack Trace Properties and more
This package extracts country, state and city from any zip code, user need to provide zip code and google api access key
Get the first non-falsy element of array.
Advanced library for deep merging, patching, and immutable updates of data structures. Features declarative operations for specific merging behaviors, property management, custom type merging rules, and difference tracking. Supports complex data transform
Vue.set with dot notation support (`'a.b.c'`) paths.
Allow only access to known object properties using ES2015 Proxy
This is a REST service class based on Axios, designed to simplify the handling of HTTP requests. It encapsulates common HTTP methods such as GET, POST, PUT, DELETE, upload, and download, while supporting request and response interceptors as well as error