1.0.1 • Published 1 year ago
xmega v1.0.1
Xmega.js
Get direct download link of videos from xMegaDrive in the CLI.
Usage
Without installing:
npx xmega
With install:
xmega
For use in a project
const { download } = require("xmega")
For use in a module
import { download } from "xmega"
Note: Direct download link provided is restricted to the current IP.
Install
npm i -g xmega
Methods
download() Generates direct download link
Params: url
await download(url)
.then(console.log)
.catch((error) => console.log(error))
Uninstall
npm uninstall xmega
License
AGPL-3.0 ©️ Zubin