ldd

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ldd

Weekly Downloads

15

Version

1.0.1

License

MIT

Unpacked Size

2.91 kB

Total Files

5

Last publish

Collaborators

  • mafintosh