Irina Glushko 2389e7160b HW1 done | 3 rokov pred | |
---|---|---|
.. | ||
index.d.ts | 3 rokov pred | |
index.js | 3 rokov pred | |
license | 3 rokov pred | |
package.json | 3 rokov pred | |
readme.md | 3 rokov pred |
Check if a path is the current working directory
$ npm install is-path-cwd
const isPathCwd = require('is-path-cwd');
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false
MIT © Sindre Sorhus