We automatically detect npm package issues for you.
We integrate with all of the tools you use.
Keep up to date with all the news.
See why developers love Socket.
Find a file or directory by walking up parent directories
Get the first path that exists on disk of multiple paths
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Check if a path exists
resolve like require.resolve() on behalf of files asynchronously and synchronously
Process execution for humans
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
User-friendly glob matching
Make a directory and its parents if needed - Think `mkdir -p`
Find the root directory of a Node.js project or npm package
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
Check if a path is a file, directory, or symlink
Matches strings against configurable strings, globs, regular expressions, and/or functions
Easily read/write JSON files.
Minimal and efficient cross-platform file watching library
Strip comments from JSON. Lets you use comments in your JSON files!
Find and load configuration from a package.json property, rc file, or CommonJS module
Fixes stack traces for files with source maps
List of binary file extensions
Check if a file path is a binary file
Read a package.json file
Node.js 0.12 path.isAbsolute() ponyfill
Get callsites from the V8 stack trace API
Write files in an atomic fashion w/configurable ownership
[![Build Status](https://travis-ci.org/stefanpenner/get-caller-file.svg?branch=master)](https://travis-ci.org/stefanpenner/get-caller-file) [![Build status](https://ci.appveyor.com/api/projects/status/ol2q94g1932cy14a/branch/master?svg=true)](https://ci.a
Get the status of a file with some features
Minimal module to check if a file is executable.
Read the closest package.json file
Normalizes data that can be found in package.json files.
Node.js path.parse() ponyfill
Temporary file and directory creator
Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.
Convert directories to glob compatible strings
Loads environment variables from .env file
Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.
Better streaming static file server with Range and conditional-GET support
Strip the final newline character from a string/buffer
Serve static files
A library for efficiently walking a directory recursively
List files and directories inside the specified directory
Check if a path is inside another path
Get the path of the parent module
Open stuff like URLs, files, executables. Cross-platform.
Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
A stupidly simple key/value storage using files to persist some data
Super simple cache for file metadata, useful for process that work o a given series of files and that only need to repeat the job on the changed ones since the previous run of the process
Wrapper library for directory and file watching.
Read and parse a JSON file
The legacy ESLintRC config file format for ESLint