suyiScreen/node_modules/is-path-cwd
lixiaobang 18ece3f395 代码提交 2023-02-06 08:46:29 +08:00
..
index.d.ts 代码提交 2023-02-06 08:46:29 +08:00
index.js 代码提交 2023-02-06 08:46:29 +08:00
license 代码提交 2023-02-06 08:46:29 +08:00
package.json 代码提交 2023-02-06 08:46:29 +08:00
readme.md 代码提交 2023-02-06 08:46:29 +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