ldd
v1.0.1
Published
Programmatic interface to ldd
Downloads
6
Readme
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