grp
<grp.h> binding for node.
var fs = ;var grp = ; var stat = fs; var group = grp;console;
Installation
$ npm install grp --save
Features
There is two available functions:
- getgrgid(gid)
var group = grp;
- getgrnam(name)
var group = grp;
These functions obtain information from opendirectoryd(8), including records in /etc/group which is described in group(5). Each line of the database is defined by the structure group like found in the include file <grp.h>:
gr_name /* group name */ gr_passwd /* group password - NOT SUPPORTED IN V1.0.0 */ gr_gid /* group id */ gr_mem /* group members - NOT SUPPORTED IN V1.0.0 */
More Information
$ man 3 getgrgid
License
MIT