Cross-platform
Object
- extend — Deeply extend objects ~380B
Is
- a plain obj — Is it a plain object? ~100B
Node.js
Module
- cross import — Import .ts, .mjs, .cjs files across environments as JavaScript modules
File System
- fs — A human-friendly file system with glob patterns
Package.json
- read workspace packages — Read workspace package.json contents
- query workspaces — Query workspaces with package.json
Recommendation
Some of the above node utilities use these well-known packages to improve your development experience, including built-in error handling, cross-platform compatibility, and shared logic to reduce code:
- upath — A drop-in replacement / proxy to nodejs's path to improve reliability
-
fs-extra — Node.js: extra methods for the fs object like
copy()
,remove()
,mkdirs()
for better DX - fast-glob — It's a very fast and efficient glob library for Node.js