Package Exports
- @stryke/path
- @stryke/path/index
- @stryke/path/package.json
- @stryke/path/resolve
- @stryke/path/resolve/index
- @stryke/path/resolve/resolve
- @stryke/path/utilities
- @stryke/path/utilities/delimiter
- @stryke/path/utilities/exists
- @stryke/path/utilities/file-path-fns
- @stryke/path/utilities/get-parent-path
- @stryke/path/utilities/index
- @stryke/path/utilities/is-file
- @stryke/path/utilities/is-root-dir
- @stryke/path/utilities/join-paths
- @stryke/path/utilities/normalize-path
- @stryke/path/workspace
- @stryke/path/workspace/asset-extensions
- @stryke/path/workspace/get-workspace-root
- @stryke/path/workspace/index
Readme
Stryke - Path Utilities
A package containing various utilities that expand the functionality of NodeJs's `path` module
Installing
Using pnpm:
pnpm add -D @stryke/pathUsing npm
npm install -D @stryke/pathUsing yarn
yarn add -D @stryke/pathReduced Package Size
This project uses tsup to package the source code due to its ability to remove unused code and ship smaller javascript files thanks to code splitting. This helps to greatly reduce the size of the package and to make it easier to use in other projects.
Development
This project is built using Nx. As a result, many of the usual commands are available to assist in development.
Building
Run nx build path to build the library.
Running unit tests
Run nx test path to execute the unit tests via Jest.
Linting
Run nx lint path to run ESLint on the package.