Files
YouTube.js/lib/parser/ytmusic/Library.js
LuanRT 68cb841c00 refactor!: finish parser migration
Finally! :)

This removes all code related to the old parser.

#65
2022-07-11 06:19:10 -03:00

23 lines
397 B
JavaScript

'use strict';
const Parser = require('..');
// Const { observe, InnertubeError } = require('../../utils/Utils');
/** @namespace */
class Library {
#page;
/**
* @param {object} response - API response.
*/
constructor(response) {
this.#page = Parser.parseResponse(response.data);
// TODO: finish this
}
get page() {
return this.#page;
}
}
module.exports = Library;