npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

ldd

1.0.1

@mafintosh

npmHomeRepoSnykSocket
Downloads:0
$ npm install ldd
DailyWeeklyMonthlyYearly

ldd

Programmic interface to ldd

npm install ldd

Usage

const ldd = require('ldd')

// prints the shared libraries used by node
ldd(process.execPath, console.log)

API

ldd(path, callback)

Calls ldd on the path and calls the callback with an array looking like this

[{
  name: 'name of the shared lib',
  path: 'path/to/resolved/shared/lib',
  address: 'memory-address of shared lib'
}, {
  ...
}]

list = ldd.sync(path)

Same as above but sync

License

MIT