suyiScreen/node_modules/is-path-cwd
何嘉峣 86fcfee13c 代码提交 2022-12-09 09:24:19 +08:00
..
index.d.ts 代码提交 2022-12-09 09:24:19 +08:00
index.js 代码提交 2022-12-09 09:24:19 +08:00
license 代码提交 2022-12-09 09:24:19 +08:00
package.json 代码提交 2022-12-09 09:24:19 +08:00
readme.md 代码提交 2022-12-09 09:24:19 +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