azot 5.0.0-alpha.3 → 5.0.0-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,10 +1,50 @@
1
- # Azot API
1
+ # Azot
2
2
 
3
- Type definitions for the latest [Azot](https://azot.so) API.
3
+ ## Extensions API
4
4
 
5
- ## Getting Started
5
+ Type definitions for the latest [Azot](https://azot.mov) API.
6
6
 
7
- Check [TypeScript interfaces](https://www.npmjs.com/package/azot?activeTab=code) to get started with our API. If you want to discover and install extensions, check out [Extension List](https://github.com/azot-labs/extensions/blob/main/extensions.json).
7
+ Check [docs](https://azot.mov/docs/extensions/globals) or [TypeScript definitions](https://npmx.dev/package-code/azot/v/5.0.0-alpha.18/types) to get started with our API. If you want to discover and install extensions, check out [Extension List](https://azot.mov/extensions).
8
+
9
+ ## Command-line interface
10
+
11
+ ### Quick Start
12
+
13
+ Run following command to install Azot CLI globally ([Node.js](https://nodejs.org/en/download) 24 or higher is required):
14
+
15
+ ```shell
16
+ npm install -g azot
17
+ ```
18
+
19
+ > Use `azot --help` command to see all available options.
20
+
21
+ Install `premier` extension to download videos from [PREMIER](https://premier.one/)):
22
+
23
+ ```shell
24
+ azot install premier
25
+ ```
26
+
27
+ Download a video from [RUTUBE](https://rutube.ru/) using built-in `rutube` extension:
28
+
29
+ ```shell
30
+ azot https://rutube.ru/video/a5d8e842f1b9ea08d9f64cd78d7e722e/
31
+ ```
32
+
33
+ ```text
34
+ 11:19:44.874 INFO Fetching content metadata...
35
+ 11:19:45.257 INFO Fetching metadata finished
36
+ 11:19:45.289 INFO Как речной транспорт экономит время москвичей? — Москва 24
37
+ 11:19:45.290 INFO Content Matched: HTTP Live Streaming
38
+ 11:19:45.290 INFO Parsing streams...
39
+ 11:19:46.223 INFO Extracted, there are 16 tracks, 8 video tracks, 8 audio tracks
40
+ 11:19:46.226 INFO Как речной транспорт экономит время москвичей — Москва 24 (480p, avc) ∙ VIDEO ∙ 848x480 ∙ 485 KiB/s
41
+ ✔:19:46.226 INFO Downloading ∙ 21.77 MB
42
+ 11:19:52.761 INFO Как речной транспорт экономит время москвичей — Москва 24 (480p, avc) ∙ AUDIO ∙ UND ∙ 44100 kHz ∙ 485 KiB/s
43
+ ✔:19:52.762 INFO Downloading ∙ 21.77 MB
44
+ ✔:19:57.009 INFO Muxed
45
+ ```
46
+
47
+ > You can find downloaded video in `~/Downloads/` directory by default.
8
48
 
9
49
  ## Community
10
50
 
package/dist/api.mjs ADDED
@@ -0,0 +1 @@
1
+ const e=Azot??Streamyx??{};e&&(e.defineExtension||=e=>e);const t=e.defineExtension,n=e.version,r=e.sleep,i=e.input,a=e.prompt,o=e.notify,s=e.confirm,c=e.ask,l=e.utils,u=e.Input,d=e.UrlSource,f=e.ALL_FORMATS,p=e.DASH,m=e.DASH_FORMATS,h=e.HLS,g=e.HLS_FORMATS,_=e.MP4,v=e.MP3;export{f as ALL_FORMATS,p as DASH,m as DASH_FORMATS,h as HLS,g as HLS_FORMATS,u as Input,v as MP3,_ as MP4,d as UrlSource,c as ask,s as confirm,e as default,t as defineExtension,i as input,o as notify,a as prompt,r as sleep,l as utils,n as version};