get-abs-path
v1.1.0
Published
Get absolute path of file names
Downloads
16
Readme
get-abs-path
Get absolute path for file names in specified directory
Get it!
npm install --save get-abs-path
Usage
var fs = require('fs')
var getAbsPath = require('get-abs-path')
var dir = 'C:/Users/' || process.cwd()
fs.readdir(dir, function (err, data) {
if (err) throw err
console.log(getAbsPath(dir, data))
})