@types/app-root-path
- Version 1.2.8
- Published
- 3.92 kB
- No dependencies
- MIT license
Install
npm i @types/app-root-path
yarn add @types/app-root-path
pnpm add @types/app-root-path
Overview
TypeScript definitions for app-root-path
Index
Variables
variable RootPath
const RootPath: RootPath;
Interfaces
interface RootPath
interface RootPath {}
property path
path: string;
Application root directory absolute path
method require
require: (pathToModule: string) => any;
Resolve module by relative addressing from root
Parameter pathToModule
Returns
{*}
method resolve
resolve: (pathToModule: string) => string;
Resolves relative path from root to absolute path
Parameter pathToModule
Returns
{string}
method setPath
setPath: (explicitlySetPath: string) => void;
Explicitly set root path
Parameter explicitlySetPath
method toString
toString: () => 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 oneto 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/app-root-path
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/app-root-path)
- HTML<a href="https://www.jsdocs.io/package/@types/app-root-path"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2586 ms. - Missing or incorrect documentation? Open an issue for this package.