【文件属性】:
文件名称:parse-git-config:将.gitconfig解析为JavaScript对象。 同步或异步
文件大小:14KB
文件格式:ZIP
更新时间:2021-02-03 16:39:23
nodejs javascript config git node
解析git配置
将.git/config解析为JavaScript对象。 同步或异步。
请考虑关注该项目的作者 ,并考虑为该项目以显示您的 :red_heart_selector: 和支持。
安装
使用安装:
$ npm install --save parse-git-config
用法
const parse = require ( 'parse-git-config' ) ;
// sync
console . log ( parse . sync ( ) ) ;
// using async/await
( async ( ) => console . log ( await parse ( ) ) ) ( ) ;
【文件预览】:
parse-git-config-master
----.eslintrc.json(4KB)
----.gitattributes(15B)
----example.js(452B)
----.verb.md(2KB)
----.travis.yml(116B)
----LICENSE(1KB)
----test()
--------fixtures()
--------test.js(4KB)
--------expected()
----README.md(8KB)
----.npmrc(19B)
----.editorconfig(215B)
----.gitignore(303B)
----index.js(5KB)
----package.json(1KB)