@sequencemedia/lsof
Get a list of open files in a convenient structure
npm i -P @sequencemedia/lsof
Usage
Get lsof
as a string
import {
getLsof
} from '@sequencemedia/lsof'
/**
* ...
*/
const string = await getLsof()
Get lsof
transformed into an array
import {
getLsofArray
} from '@sequencemedia/lsof'
/**
* ...
*/
const array = await getLsofArray()
Get lsof
transformed into a set
import {
getLsofSet
} from '@sequencemedia/lsof'
/**
* ...
*/
const set = await getLsofSet()