getgitlabcfg

1.0.0 • Public • Published

getGitlabCfg

download gitlab repo given file for some use, for example configure

Usage

const getCfg = require('getgitlabcfg');
getCfg({
  token: 'xxx', //gitlab token
  host: 'http://git.xxx.com', //gitlab host
  projectId: 'xxxx',
  src: 'xxx/xxx/xxx.js', //repo file path
  branch: 'master',
  dist: './config.js'
});

Readme

Keywords

Package Sidebar

Install

npm i getgitlabcfg

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.37 kB

Total Files

4

Last publish

Collaborators

  • huxinmin