tree: dfbd703915aa2229bbec16158a097bb8f88288d6 [path history] [tgz]
  1. tests/
  2. index.d.ts
  3. index.js
  4. LICENSE
  5. package.json
  6. README.md
lib/path/README.md

@protobufjs/path

npm

A minimal path module to resolve Unix, Windows and URL paths alike.

API

  • path.isAbsolute(path: string): boolean
    Tests if the specified path is absolute.

  • path.normalize(path: string): string
    Normalizes the specified path.

  • path.resolve(originPath: string, includePath: string, [alreadyNormalized=false: boolean]): string
    Resolves the specified include path against the specified origin path.

License: BSD 3-Clause License