Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
textextensions
A package that contains an array of every single file extension there is for text files
editions
Publish multiple editions for your JavaScript packages consistently and easily (e.g. source edition, esnext edition, es2015 edition)
binaryextensions
A package that contains an array of every single file extension there is for binary files
errlop
An extended Error class that envelops a parent error, such that the stack trace contains the causation
typechecker
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
eachr
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.
sortobject
Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it
version-range
Check version ranges like `>=N` and `X || Y || Z` with support for Node.js, Web Browsers, Deno, and TypeScript.
envfile
Parse and stringify the environment configuration files and format, also known as .env files and dotenv files
getmac
Get the MAC address of the current machine you are on.
scandirectory
Scan a directory recursively with a lot of control and power
requirefresh
Require a file without adding it into the require cache
ambi
Ambi lets you execute any function ambidextrously; providing you the ability to execute any function (be it synchronous, asynchronous, returns, callbacks, promises) as if it returned a promise.
unbounded
Function.prototype.bind replacement that provides an `unbounded` hidden property on the returned bounded function, that contains the original unbounded function
ignorepatterns
A regular expression that matches common filenames that we want to ignore
get-current-line
Get the current line number of the executing file and method
ignorefs
Ignore common and custom patterns of the file system
filedirname
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
version-compare
Comparator to determine if a version is less than, equivalent to, or greater than another version