10 projects
gray-matter
A Node.js library for parsing front-matter from documents. It extracts and parses YAML, JSON, or other front-matter blocks from strings or files, commonly used in static site generators and documentation tools.
229
93
$156K
Replace in file
A Node.js library that provides functionality to find and replace text content in files using regular expressions or strings, with support for synchronous and asynchronous operations, multiple file patterns, and various configuration options
205
55
$73K
directory-tree
A Node.js module that creates a JavaScript object representing a directory tree structure, allowing developers to scan directories and get a nested representation of files and folders
161
36
$36K
zipp
A pathlib-compatible zipfile object wrapper that provides a Path-like interface to navigate and access ZIP archive contents
114
59
$57K
front-matter
A Node.js library for parsing YAML front matter from strings or files, commonly used in static site generators and markdown processing to extract metadata from content files
113
44
$19K
PathSpec
A utility library for pattern matching of file paths using gitignore-style pattern syntax, supporting both Unix shell-style wildcards and .gitignore specifications
97
43
$695K
vfile
Virtual file format for text processing used in @unifiedjs
83
48
$57K
proper-lockfile
A Node.js library that provides proper file locking functionality, allowing atomic operations on files by implementing an advisory lock mechanism using mkdir or a lockfile. It supports both synchronous and asynchronous operations, with features like stale lock detection and automatic retry.
65
34
$22K
filenamify
A Node.js library that converts strings into valid filenames by removing or replacing invalid characters, ensuring cross-platform compatibility
57
21
$12K
Split
A Node.js module that splits a text stream into lines using a separator pattern, providing a streaming interface for processing line-by-line data
51
28
$9.3K