@types/path-browserify

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

Install

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

Overview

TypeScript definitions for path-browserify

Index

Variables

variable path

const path: path.Path;

    Interfaces

    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.

                                              Badge

                                              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
                                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/path-browserify)
                                              • 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>