Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
@stdlib/assert-is-empty-string
Test if a value is an empty string.
is-empty
Check whether a value is "empty".
has-value
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
is-extglob
Returns true if a string has an extglob.
kind-of
Get the native type of a value.
empty-dir
Check if a directory is empty.
is-valid-glob
Return true if a value is a valid glob pattern or patterns.
type-check
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
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
has-flag
Check if argv has a specific flag
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
is-valid-path
Returns true if a file path does not contain any invalid characters.
is-ip
Check if a string is an IP address
is-plain-object
Returns true if an object was created by the `Object` constructor, or Object.create(null).
has-glob
Returns `true` if an array has a glob pattern.
is-primitive
Returns `true` if the value is a primitive.
isobject
Returns true if the value is an object and not an array or null.
is-invalid-path
Returns true if a windows file path has invalid characters.
is-extendable
Returns true if a value is a plain object, array or function.
is-alphanumeric
Check if a string only contains alphanumeric characters