Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

is-path-cwd

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

is-path-cwd

Check if a path is the current working directory

    3.0.0latest

Version published
Maintainers
1
Weekly downloads
13,175,002
increased by1.72%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 12.20 69694c6
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/is-path-cwd/compare/v2.2.0...v3.0.0

Readme

Source

is-path-cwd

Check if a path is the current working directory

Install

$ npm install is-path-cwd

Usage

import isPathCwd from 'is-path-cwd'; isPathCwd(process.cwd()); //=> true isPathCwd('unicorn'); //=> false
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Keywords

FAQs

What is is-path-cwd?

Check if a path is the current working directory

Is is-path-cwd popular?

The npm package is-path-cwd receives a total of 12,665,785 weekly downloads. As such, is-path-cwd popularity was classified as popular.

Is is-path-cwd well maintained?

We found that is-path-cwd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 11 Aug 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc