[Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules.
Native Access to MacOS FSEvents
Cross platform child_process#spawn and child_process#spawnSync
Given a path string, return a generator that walks up the path, emitting each dirname.
Node.js path.dirname() ponyfill
Run scripts that set and use environment variables across platforms
Universal WHATWG Fetch API for Node, Browsers and React Native
Find all the workspaces of a monorepo.
Ensure directories exist before writing to them.
Promisified version of cross-spawn
🐊Putout plugin adds ability to transform code to new API of Node.js
Helper library for node-rs
Create cross-toolchain from https://github.com/rust-cross/manylinux-cross/tree/main
No description provided.
Get the package name from a folder path
Cross-platform .zip file creation
get the file directory from import.meta.url
If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.
Cross platform normalization of process.argv
Cross-platform support for running Windows executables
find the closest package.json
[](https://nodei.co/npm/cross-var/) [](https://nodei.co/npm/cross-var/)
return all the parent directories for a directory
TypeScript definitions for cross-spawn