Update index.js

This commit is contained in:
Aleksandr Statciuk 2022-06-15 18:00:19 +03:00
parent 714a3eacb9
commit e9e65a4e27
1 changed files with 4 additions and 4 deletions

View File

@ -6,6 +6,9 @@ const { parse: parsePrograms } = require('./programs')
const { load: loadConfig } = require('./config')
const { sleep, isPromise } = require('./utils')
module.exports.generateXMLTV = generateXMLTV
module.exports.parseChannels = parseChannels
class EPGGrabber {
constructor(config = {}) {
this.config = loadConfig(config)
@ -42,7 +45,4 @@ class EPGGrabber {
}
}
EPGGrabber.prototype.generateXMLTV = generateXMLTV
EPGGrabber.prototype.parseChannels = parseChannels
module.exports = EPGGrabber
module.exports.EPGGrabber = EPGGrabber