0.4.5 • Published 1 year ago

@superchupu/tusc v0.4.5

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

tusc

If you want something more stable and easy to use, check out tusc-gui

A wrapper around yt-dlp that makes it easier to use for non-technical users

It's on an early stage with a lot of changes expected to happen, if you want something stable, you should probably use its JavaScript API, tusc-gui, or yt-dlp directly

Installation

npm i -g @superchupu/tusc

Usage

tusc <url> [options]

Options

-e - Makes explorer not open on finish

--update - Updates tusc's yt-dlp installation

API

import { run } from '@superchupu/tusc';

await run({
  url: 'https://youtu.be/7cXgViHb4NM',
  resolution: 1080,
  extension: 'mp4',
  openExplorer: false
});

Options

export interface TuscOptions {
  extension?: Extension;
  onData?: (data: string) => unknown;
  onErrorData?: (data: string) => unknown;
  openExplorer: boolean;
  path: string;
  resolution?: number | 'best';
  url: string | null;
  ytDlpPath?: string;
}
0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.1

1 year ago

0.3.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.1.0

1 year ago