Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
promise version of downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobg committed Aug 17, 2020
1 parent 3951701 commit e11831a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/downloaderPromise.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict'

const util = require('util')
const downloader = require('./downloader')

const downloaderPromise = util.promisify(downloader)

module.exports = downloaderPromise

0 comments on commit e11831a

Please sign in to comment.