@discordjs/collection
Utility data structure used in discord.js
Found 10877 results for utility
Utility data structure used in discord.js
mdast utility to make a tree compact
unist utility to create a new tree with nodes that pass a filter
vfile utility to create a report for a file
Similar to String#trim() but removes only newlines
hast utility for `querySelector`, `querySelectorAll`, and `matches`
vfile utility to count messages per category: failures, warnings, etc
hast utility to check if a node is an embedded element
vfile utility to sort messages by line/column
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.
A utility library for JavaScript and Typescript.
hast utility to check if a link element is “Body OK”
Require Node module and immediately remove it from module cache to force loading again next time
hast utility to check if a node is phrasing content
Ethereum RPC and Provider errors.
unist utility to inspect nodes
vfile utility to read and write to the file system
Detect native Symbol support.
Test if a value is a string.
Ethereum RPC and Provider errors
Return a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.
Insert supplied variable values into a format string.
Escape a regular expression string or pattern.
Test if a value is a boolean.
Test if a value is a function.
Determine the specification defined classification of an object.
Test if a value is a Float64Array.
hast utility to get the plain-text value of a node
Detect native Uint32Array support.
Test if a value is a Uint32Array.
Detect native Symbol.toStringTag support.
Test if an object has a specified property.
Define (or modify) an object property.
Determine a value's type.
Generate string from a token array by interpolating values.
Test if a value is object-like.
Detect native Float64Array support.
Test if a value is a Buffer object.
Test if a value is a plain object.
Test if a value is an array.
Determine the name of a value's constructor.
Get a property from an object using dot (object path) notation.
Replace search occurrences with a replacement string.
Test if a value is a Uint8Array.
Convert between POSIX and Windows paths.
Detect native Uint16Array support.
Test if a value is a Uint16Array.
Return the current working directory.
Return the global object.
Test if a value is a regular expression.
Define a non-enumerable read-only property.
Detect native Float32Array support.
Tokenize a string into an array of string parts and format identifier objects.
Convert a double-precision floating-point number to the nearest single-precision floating-point number.
Function which does nothing.
Test if a double-precision floating-point numeric value is NaN.
Detect native Uint8Array support.
Platform float word order.
Check if an environment is little endian.
Return the prototype of a provided object.
Test if a value is an object.
Split a double-precision floating-point number into a higher order word and a lower order word.
Read data from stdin.
Check if an environment is big endian.
Test if a double-precision floating-point numeric value is infinite.
Test if a value is a Float32Array.
Test if a value is a number.
Platform byte order.
Detect native Buffer support.
Create a regular expression from a regular expression string.
Return an unsigned 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.
Return an integer corresponding to the unbiased exponent of a double-precision floating-point number.
Test if a value is a regular expression string.
Add a callback to the next tick queue.
Command-line interface.
Convert a string to lowercase.
Create a double-precision floating-point number from a higher order word and a lower order word.
mdast utility to generate a table of contents from a tree
Convenience wrapper for Got to interact with the GitHub API
(IEC) Utility to parse a string bytes to bytes and vice-versa
UI utilities
vfile utility to parse the YAML front matter in a file
A collection of useful utilities.
Tiny wrapper around ansi-colors to add colored symbols and a timestamp.
More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Simple CLDR traverser
<!-- This file is AUTO-GENERATED, edit _README.template.md or tweak scripts/generateDocs.ts -->
Escape regular expression special characters
mdast utility to parse a comment marker
Flattens React children and fragments to an array with predictable and stable keys
A crawling file watcher.
Minimum utility toolbelt
unist utility to select nodes with CSS-like selectors
Utility to make vitest tests fail when console.error() or console.warn() are used
Merge two lists, trying to preserve the order of both
Flatten a nested array.
Return a copy of the object only containing the whitelisted properties.
Get unique values of an array. Really, like deeply unique.
Ultra tiny, opinionated, positioning engine.
A minimal dom utility toolbelt
Transform deprecated styling attributes on HAST table cells to inline styles
mdast utility to get the style of a heading
🔧 Fast, modern, and practical utility library for FP in TypeScript.
unist utility to create a new tree by mapping all nodes
hast utility to find and replace text in a tree
mdast utility to transform to nlcst
Cross-browser type assertions (less broken typeof)
More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Various utility functions
Escape regular expression special characters
Simple function that return the first non null or undefined argument
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
hast utility to merge class names together
Convert Errors & Objects into an easily-serialized vanilla Object.
Returns a shallow copy of an object without blacklisted properties
less broken typeof
Gets you the Cypress test command log as JSON on failure
Get the prototype chain of any value as an Array
Convert react components to plain text without any HTML markup
Easy way to mock process.env during BDD testing
Simplified, lightweight HTTP client library
here-document on node.js
unist utility to find a node
A collection of decorators using lodash at it's core.
Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!
es-escape-html rewrite for ESM
Format an error message for production.
Convert Gitignore to Glob patterns
A library of Javascript utility functions with an emphasis on Functional Programming.
Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged
Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
TOAST UI Utility: CodeSnippet
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
Test if a finite double-precision floating-point number is an integer.
hast utility to check if a node is a conditional comment
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation.
Test if a finite numeric value is an odd number.
Replace search occurrences with a replacement string.
React utility to flatten fragments.
Simple merge utility to extend objects without extra dependencies
hast utility to transform to the DOM
Convert a string to lowercase.
A Javascript utility library for working with native objects.
Core module for the Sugar Javascript utility library.
vandium common utility functions
React Native flashbar and top notification alert utility
TypeScript common pattern shortcut definitions / utility gist library
Check if the package is being installed by another package
Simplified HTTP request client.
nlcst utility to check whether a node is meant literally
puppeteer + dom-testing-library
vfile utility to find one or more files by searching the file system upwards
Test if a finite numeric value is an even number.
Test if a value is a number having a nonnegative integer value.
Check if a value is undefined or not.
Utility to find webpack settings in react-scripts and other situations
Test if a value is a number having an integer value.
Set the more significant 32 bits of a double-precision floating-point number.
Constant function.
Test if a double-precision floating-point numeric value is positive zero.
Test if a value is NaN.
Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI
Assert utility from yeoman
Utils for normalizing and formatting repo data.
Convert an unsigned 32-bit integer to a signed 32-bit integer.
Set the less significant 32 bits of a double-precision floating-point number.
A modern tooling library for asynchronous operations using async/await, promises and async generators
Parses a regular expression string and returns a new regular expression.
nlcst utility to normalize a word for easier comparison
Returns `true` if a value exists in the given string, array or object.
Return an unsigned 32-bit integer corresponding to the less significant 32 bits of a double-precision floating-point number.
A lightweight Node.js library to fetch the file size from a remote URL without downloading the file. Zero dependencies. Returns a Promise with the file size formatted as 'B', 'KB', 'MB', 'GB', or 'TB'.
nlcst utility to search for patterns in a tree
Test if a double-precision floating-point numeric value is negative zero.
qsu is a utility library that contains useful and frequently used functions. Start with your preferred language and the modern development environment.
Given an object returns list of all possible paths to its properties
A collection of serverless framework utilities
Test if a value is a collection.
A VitePress auto sidebar plugin that automatically creates a simple configuration.
Returns the first index at which a given element can be found.
Copy an error object.
Test if a value is an Int8Array.
Create a new object filtered to have only properties for which the callback returns true.
Validate, sanitize and document JSON schemas
hast utility to transform to nlcst
Test if a value is an arguments object.
Detect native Uint8ClampedArray support.
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
Query for the status of any game server in Node.JS
Test if a value is an Int32Array.
Detect native Int32Array support.
Detect native Int16Array support.
Detect native Int8Array support.
Return the first index at which a given element can be found.
Minify email templates
Return an array of an object's own enumerable property names.
Match substrings on the left or right of a given index, ignoring whitespace
Test if an object's own property is enumerable.
A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.
unist utility to find nodes before another node
Detect native generator function support.
walk directory for esm and cjs modules
Alias for eval global.
Essential utilities for TypeScript projects
Test if a value is an Error object.
Utilities for working with common protobuf types
Define a non-enumerable read-only accessor.
Define a read-only property.
Collection of utilities for FusionCharts
Return a property descriptor for an object's own property.
String manipulation functions.
Return an array of an object's own enumerable and non-enumerable property names.
hast utility to check if an element is a JavaScript script
React Hook & Utility Library
Test if a value is a number having a positive integer value.
Auto-import components in Astro projects
Standard utilities.
hast utility to set the plain-text value of a node
hast utility to check if a property is an event handler
Standard assertion utilities.
hast utility to check if an element is a css style
Minimal JavaScript type checking library
OS utilities.
Command-line interface.
Return an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.
hast utility to check if an element is a css link
TypeScript utilities for exception handling and errors-as-values.
TypeScript utilities.
Time utilities.
Tells if the current Mocha execution is running only some tests that use .only
Process utilities.
Higher-order functions and common patterns for asynchronous code
🛠️ Useful exported utilities for working with Schematics
A very fast server-side animated GIF generation for Node.js
Component to iterate an array round robin.
Parse bytes to human readable sizes (4747) → ('4.75 KB') and vice versa.
Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.
nlcst utility to support emoticons in nlcst
Transforms BDD input into data-driven snapshot
nlcst utility to merge affix emoticons into the previous sentence
A utility for generating .npmrc files based on configuration template and environment variables.
nlcst utility to support emoji
🍛 Simple curry functions
TypeScript-STL (Standard Template Library, migrated from C++)
xast utility to serialize to XML
polyfill for es8 Object.values
util