Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
is-text-path
Check if a file path is a text file
is-binary-path
Check if a file path is a binary file
file-type
Detect the file type of a file, stream, or data
path-type
Check if a path is a file, directory, or symlink
istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
is-blob
Check if a value is a `Blob`
is-unc-path
Returns true if a filepath is a windows UNC file path.
is-absolute
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
is-image
Check if a file path is an image
is-dotfile
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
is-invalid-path
Returns true if a windows file path has invalid characters.
is-relative
Returns `true` if the path appears to be relative.
file-contents
Set the `contents` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
kind-of
Get the native type of a value.
has-yarn
Check if a project is using Yarn
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
file-stat
Set the `stat` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
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