Socket
Socket
Sign inDemoInstall

youtube-dl-server

Package Overview
Dependencies
196
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.2.1

dist/app.js

7

CHANGELOG.md

@@ -7,2 +7,9 @@ # Changelog

## [1.2.1] - 2022-07-12
### Added
- Support for standalone cli
### Changed
- Installation instructions to install with `-g`
## [1.1.1] - 2022-07-12

@@ -9,0 +16,0 @@ ### Added

8

package.json
{
"name": "youtube-dl-server",
"version": "1.1.1",
"version": "1.2.1",
"description": "Youtube Rest API, powered by youtube-dl",
"main": "dist/app.js",
"scripts": {
"start": "ts-node src/app.ts",
"build": "tsc -p .",
"download": "node ./tools/download.js",

@@ -12,2 +12,6 @@ "postinstall": "npm run download",

},
"main": "./dist/app.js",
"bin": {
"youtube-dl-server": "./dist/app.js"
},
"keywords": [

@@ -14,0 +18,0 @@ "typescript",

@@ -8,4 +8,4 @@ # youtube-dl-server

```
npm install
npm start
npm install -g youtube-dl-server
youtube-dl-server
```

@@ -12,0 +12,0 @@

@@ -0,1 +1,3 @@

#!/usr/bin/env node
import express from 'express';

@@ -63,3 +65,4 @@ const cors = require('cors');

app.listen(port, () => {
return console.log(`server is listening on http://localhost:${port}`);
console.log(`server is listening on http://localhost:${port}`);
console.log(`Try this url in your browser: http://localhost:${port}/watch?v=dQw4w9WgXcQ&cli=yt-dlp`);
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc