0.0.2 • Published 6 years ago
@hungtcs-box/passwd v0.0.2
PASSWD
Parse linux passwd file to an object
INSTALL
npm install --save @hungtcs-box/passwdor using yarn
yarn add @hungtcs-box/passwdUSAGE
import { passwd } from '@hungtcs-box/passwd';
passwd().then(users => {
console.log(users); // [{ user, uid, gid, gecos, home, shell }]
});