Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-path

LittoCats15.1kApache-2.00.0.5

path util for react-native

readme

react-native-path

path util like nodejs for react-native.

Install

npm install --save react-native-path

Usage

import path from 'react-native-path'

...

path.resolve(...)

...

API

function normalize(path): string
function basename(path, ext): string
function dirname(path): string
function extname(path): string
function format(options): string
function isAbsolute(path): boolean
function parse(path): string
function resolve(): string
function relative(from, to): string