UNPKG

@np-dev/youtubei-js

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

14 lines 425 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import Button from './Button.js'; class CopyLink extends YTNode { constructor(data) { super(); this.copy_button = Parser.parseItem(data.copyButton, Button); this.short_url = data.shortUrl; this.style = data.style; } } CopyLink.type = 'CopyLink'; export default CopyLink; //# sourceMappingURL=CopyLink.js.map