cross-pwd

Cross platform pwd (pathname of the current working directory)

Usage no npm install needed!

<script type="module">
  import crossPwd from 'https://cdn.skypack.dev/cross-pwd';
</script>

README

cross-pwd tests

Cross platform PWD (pathname of the current working directory)

Install

$ npm install --save 

Usage

var pwd = require('cross-pwd')

pwd()
//=> /you/are/here

API

pwd() -> string

Returns the pathname of the process working directory.

License

MIT © Ben Drucker