JSPM

@protobufjs/path

1.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18177088
  • Score
    100M100P100Q225444F
  • License BSD-3-Clause

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

Package Exports

  • @protobufjs/path

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@protobufjs/path) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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