node-ctypes - v2.17.1
    Preparing search index...

    Variable utilConst

    util: { find_library: typeof find_library; dllist: () => string[] }

    Python ctypes.util: find_library and dllist().

    dllist() (CPython 3.14 ctypes.util.dllist()) returns the paths of the shared libraries loaded in the process: EnumProcessModules on Windows, dyld on macOS, dl_iterate_phdr on other POSIX systems (glibc lists the main program as ""). It is undefined only on a POSIX system without dl_iterate_phdr, where CPython has none.

    Type Declaration

    • Readonlyfind_library: typeof find_library
    • Readonlydllist: () => string[]
    import { util } from 'node-ctypes';
    console.log(util.dllist().filter((name) => name.includes('ssl')));