Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
is-admin
Check if the process is running as administrator on Windows
admin-check
package to check if the script is running with admin permissions
kind-of
Get the native type of a value.
is-stream
Check if something is a Node.js stream
is-fullwidth-code-point
Check if the character represented by a given Unicode code point is fullwidth
is-elevated
Check if the process is running with elevated privileges
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
path-type
Check if a path is a file, directory, or symlink
is-glob
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
is-wsl
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
isobject
Returns true if the value is an object and not an array or null.
is-arrayish
Determines if an object can be used as an array
is-typed-array
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
is-extglob
Returns true if a string has an extglob.
is-binary-path
Check if a file path is a binary file
is-bigint
Is this value an ES BigInt?
is-extendable
Returns true if a value is a plain object, array or function.
is-plain-object
Returns true if an object was created by the `Object` constructor, or Object.create(null).
is-regex
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.