Skip to content

Instantly share code, notes, and snippets.

Avatar
🐣
knock knock…

Pavel 'Strajk' Dolecek Strajk

🐣
knock knock…
View GitHub Profile
@Strajk
Strajk / gitlab.js
Created Feb 5, 2018
Gitlab with promises
View gitlab.js
const gitlab = require('gitlab')({
url: process.env.GITLAB_URL,
token: process.env.GITLAB_TOKEN
})
const promisifier = function (fn) {
return function (...args) {
return new Promise(resolve => {
args.push(resolve);
View gist:78e46a157b95ccacaa28
### Keybase proof
I hereby claim:
* I am strajk on github.
* I am strajk (https://keybase.io/strajk) on keybase.
* I have a public key whose fingerprint is 46DA FBBD E5AE 17AE D229 AB7D CF9A B872 DA89 EE02
To claim this, I am signing this object: