An open API service indexing awesome lists of open source software.

https://github.com/numtel/node-pkgdir

Export __dirname
https://github.com/numtel/node-pkgdir

Last synced: about 1 year ago
JSON representation

Export __dirname

Awesome Lists containing this project

README

          

# pkgdir

Export one level above `__dirname`. (i.e. Your `node_modules` directory path)

```
npm install pkgdir
```

```javascript
var pkgdir = require('pkgdir');

console.log(pkgdir);
```

## License

MIT