Skip to content

sequencemedia/lsof

Repository files navigation

@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()

About

Get a list of open files in a convenient structure

Resources

Stars

Watchers

Forks

Packages

No packages published