@protobufjs/path
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @protobufjs/path

    Weekly Downloads

    10,763,692

    Version

    1.1.2

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • dcode
    • protobufjs