0.1.0 • Published 10 years ago
find-filename v0.1.0
find-filename
Find it's filename that required from module.exports
or exports
.
Install
npm i find-filename --save
Usage
var find = require('find-filename');
var http = require('http');
console.log(find(find)) // /Users/nswbmw/GitHub/find-filename/index.js
console.log(find(http)) // null
License
MIT
0.1.0
10 years ago