Easily work with file paths.
- Ensures paths are normalized across all Operating Systems
- Easily access the path's basename, dirname, extension, filename, and more
- Drop-in Node.js module replacement
- Written in modern ESM/TypeScript
bun install -d @stacksjs/path
# if stacks is installed, you can also use:
# import path from 'stacks/path'
Now, you can easily access it in your project:
import { filename, normalizeAliases, resolve, resolveAlias } from '@stacksjs/path'
// and more...
To view the full documentation, please visit https://stacksjs.org/path.
bun test
Please see our releases page for more information on what has changed recently.
Please review the Contributing Guide for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
Many thanks to the following core technologies & people who have contributed to this package:
The MIT License (MIT). Please see LICENSE for more information.
Made with 💙