@jarusll/path

0.6.2 • Public • Published

Path

A wrapper class for node's path module.

Documentation

  • I represent a filepath in system.
  • You can import me by
    • import Path from '@jarusll/path'
  • You can use me by
    • new Path(PATH_STRING)
    • Path.fromString(PATH_STRING)
    • PATH_STRING.asPath()

Class Diagram

TODO

DONE

  • [x] Add relativeTo and extension messages. Did not add resolve, too confusing
  • [x] Add unit tests
  • [x] Add join and parse
  • [x] Add UML diagram
  • [x] Add asPath message for String in IIFE. Dint had to, it automatically imported itself
  • [x] Bundling? for fun. Added with rollup

/@jarusll/path/

    Package Sidebar

    Install

    npm i @jarusll/path

    Weekly Downloads

    0

    Version

    0.6.2

    License

    MIT

    Unpacked Size

    9.42 kB

    Total Files

    7

    Last publish

    Collaborators

    • jarusll