Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 785 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 785 Bytes

from-cwd

license types npm npm npm

Resolve path from CWD (Current Working Directory)

Definition

fromCWD(...paths: string[]): string

Usage

const fromCWD = require('from-cwd');

const resolvedPath1 = fromCWD('my-folder/my.file');
// or
const resolvedPath2 = fromCWD('my-folder/', 'my.file');