ts-refined-path
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

Refinements for node paths

Tags

FPath, Dir, and File perform no checks. Use to tag after checking.

Refinements

Abs and Rel check using node's path.isAbsolute.

Helper types

Path<A> is aliased to Refined<string, FPath & A>

path module reexports

Node path members have been reexported with refined types.

Readme

Keywords

none

Package Sidebar

Install

npm i ts-refined-path

Weekly Downloads

5

Version

0.5.1

License

MIT

Last publish

Collaborators

  • jedahu