@protobufjs/path

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

@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

npm i @protobufjs/path

Metadata

Downloads