@stacksjs/path
TypeScript icon, indicating that this package has built-in type declarations

0.61.18 • Public • Published

Stacks Path

Easily work with file paths.

☘️ Features

  • 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

🤖 Usage

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.

🧪 Testing

bun test

📈 Changelog

Please see our releases page for more information on what has changed recently.

🚜 Contributing

Please review the Contributing Guide for details.

🏝 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

🙏🏼 Credits

Many thanks to the following core technologies & people who have contributed to this package:

📄 License

The MIT License (MIT). Please see LICENSE for more information.

Made with 💙

Package Sidebar

Install

npm i @stacksjs/path

Weekly Downloads

5,258

Version

0.61.18

License

MIT

Unpacked Size

66.1 kB

Total Files

5

Last publish

Collaborators

  • chrisbreuer