Have ideas to improve npm?Join in the discussion! »

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

    2.2.0 • Public • Published

    is-path-cwd Build Status

    Check if a path is the current working directory

    Install

    $ npm install is-path-cwd
    

    Usage

    const isPathCwd = require('is-path-cwd');
     
    isPathCwd(process.cwd());
    //=> true
     
    isPathCwd('unicorn');
    //=> false

    License

    MIT © Sindre Sorhus

    Install

    npm i is-path-cwd

    DownloadsWeekly Downloads

    12,369,506

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    2.76 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar