Skip to content

Commit

Permalink
Update index.js to export youtubeDl (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swimburger authored Jun 22, 2024
1 parent 985d678 commit b4f3443
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ const create = binaryPath => {
return fn
}

module.exports = create(constants.YOUTUBE_DL_PATH)
const defaultInstance = create(constants.YOUTUBE_DL_PATH)

module.exports = defaultInstance
module.exports.youtubeDl = defaultInstance
module.exports.create = create
module.exports.args = args
module.exports.isJSON = isJSON
Expand Down

0 comments on commit b4f3443

Please sign in to comment.