get-abs-path

1.1.0 • Public • Published

get-abs-path

build status AppVeyor Build Status

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))
})

API

getAbsPath(dir, arr)


License

MIT


Readme

Keywords

Package Sidebar

Install

npm i get-abs-path

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

3.88 kB

Total Files

8

Last publish

Collaborators

  • balou9