document-pathname
v2.0.0
Published
Simple interface to document.location.pathname that returns / in Node
Readme
document-pathname 
Simple interface to
document.location.pathnamethat returns/in Node
Install
$ npm install --save document-pathnameUsage
var pathname = require('document-pathname')
pathname()
//=> '/the/path' in a browser
//=> '/' in nodeLicense
MIT © Ben Drucker
