New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

from-cwd

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

from-cwd

Resolve path from CWD (Current Working Directory)

1.1.0
latest
Source
npm
Version published
Weekly downloads
93
-51.05%
Maintainers
1
Weekly downloads
 
Created
Source

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');

Keywords

resolve

FAQs

Package last updated on 06 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts