• Version 1.0.2
  • Published
  • 4.26 kB
  • No dependencies
  • MIT license


npm i @types/path-browserify
yarn add @types/path-browserify
pnpm add @types/path-browserify


TypeScript definitions for path-browserify



variable path

const path: path.Path;


    interface Path

    interface Path {}

      property delimiter

      readonly delimiter: string;

        property posix

        readonly posix: Path;

          property sep

          readonly sep: string;

            property win32

            readonly win32: null;

              method basename

              basename: (path: string, ext?: string) => string;

                method dirname

                dirname: (path: string) => string;

                  method extname

                  extname: (path: string) => string;

                    method format

                    format: (pathObject: Partial<PathObject>) => string;

                      method isAbsolute

                      isAbsolute: (path: string) => boolean;

                        method join

                        join: (...paths: string[]) => string;

                          method normalize

                          normalize: (path: string) => string;

                            method parse

                            parse: (path: string) => PathObject;

                              method relative

                              relative: (from: string, to: string) => string;

                                method resolve

                                resolve: (...pathSegments: string[]) => string;

                                  interface PathObject

                                  interface PathObject {}

                                    property base

                                    base: string;

                                      property dir

                                      dir: string;

                                        property ext

                                        ext: string;

                                          property name

                                          name: string;

                                            property root

                                            root: string;

                                              Package Files (1)

                                              Dependencies (0)

                                              No dependencies.

                                              Dev Dependencies (0)

                                              No dev dependencies.

                                              Peer Dependencies (0)

                                              No peer dependencies.


                                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/path-browserify.

                                              • Markdown
                                              • HTML
                                                <a href="https://www.jsdocs.io/package/@types/path-browserify"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>