qauMaWeb/node_modules/is-path-cwd
赵向宇 4b9d619652 初始化 2024-10-13 18:02:27 +08:00
..
index.d.ts 初始化 2024-10-13 18:02:27 +08:00
index.js 初始化 2024-10-13 18:02:27 +08:00
license 初始化 2024-10-13 18:02:27 +08:00
package.json 初始化 2024-10-13 18:02:27 +08:00
readme.md 初始化 2024-10-13 18:02:27 +08:00

readme.md

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