Search results
3202 packages found
Check if a protocol requires a certain port number to be added to an URL.
Check if a path exists
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Check if a path is a file, directory, or symlink
Check if a path is inside another path
ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder
detect file extensions, check if text or binary file, or get list of text or binary file extensions
- binary
- extensions
- extension
- file
- path
- check
- detect
- is
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- View more
Async npm module for Node JS that reads the first line of a file
Check if a file path is a binary file
Returns `true` if the path appears to be relative.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
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`.
Check if a file path is a text file
Returns true if a file path does not contain any invalid characters.
Check to see if a directory exists
Check if a path is the current working directory
Check if a filepath has extension(s)
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
- require
- cache
- uncache
- uncached
- module
- fresh
- fetch
- all
- imports
- requires
- es imports
- cjs import
- cjs require
- mjs import
- View more
Check if filepath exists and is a file
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
- require
- cache
- uncache
- uncached
- module
- fresh
- fetch
- all
- imports
- requires
- es imports
- cjs import
- cjs require
- mjs import
- View more