mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
23 lines
410 B
JavaScript
23 lines
410 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('../contents');
|
|
// 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; |