文件名称:uid-number:将用户名组名称转换为uidgid数字
文件大小:3KB
文件格式:ZIP
更新时间:2024-05-23 16:41:13
JavaScript
使用此模块将用户名/组名转换为uid / gid编号。 用法: npm install uid-number 然后,在您的节点程序中: var uidNumber = require ( "uid-number" ) uidNumber ( "isaacs" , function ( er , uid , gid ) { // gid is null because we didn't ask for a group name // uid === 24561 because that's my number. } )
【文件预览】:
uid-number-master
----get-uid-gid.js(644B)
----LICENSE(748B)
----README.md(345B)
----uid-number.js(2KB)
----package.json(439B)