diff --git a/index.js b/index.js deleted file mode 100644 index 68ee2ba..0000000 --- a/index.js +++ /dev/null @@ -1,9 +0,0 @@ -const YTSubtitles = require('./dist/index').default - -const id = YTSubtitles.extractIdFromUrl('https://www.youtube.com/watch?v=vG-QZOTc5_Q') - -YTSubtitles.getLanguagesList(id).then((resp) => { - resp[0].fetch().then(lang => { - console.log(lang) - }) -})