from-cwd
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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');
// or
const { fromCWD } = require('from-cwd');

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i from-cwd

      Weekly Downloads

      179

      Version

      1.1.0

      License

      MIT

      Unpacked Size

      3.86 kB

      Total Files

      6

      Last publish

      Collaborators

      • dutchenkooleg