UNPKG

etc-passwd

Version:

Interface to read a standard Unix passwd and group file-format

9 lines (6 loc) 154 B
#!/usr/bin/env node var passwd = require('../'); passwd.getUsers(function(err, users) { if (err) throw err; console.log(JSON.stringify(users)); });