1.0.0
@cross/dir v1.0.0
Key Features
- Cross-Platform Compatibility: Retrieve standard user directory paths on Windows, macOS, and Linux for Deno, Bun, and Node.js projects.
- Essential Directories: Supports common directories like
home
,cache
,config
,data
,download
,tmp
, and more. - Reliability: Uses established environment variables and platform-specific techniques for accurate results.
- TypeScript-Ready: Includes TypeScript definitions for type safety and improved development experience.
- Easy Installation: Add to your project with a single command for Deno, Bun, or Node.js.
For documentation and usage see dir on JSR.io
Full Changelog: https://github.com/cross-org/dir/commits/1.0.0