New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simple-youtube-api

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-youtube-api - npm Package Compare versions

Comparing version 5.2.1 to 6.0.0-beta.1

.vscode/settings.json

96

package.json
{
"name": "simple-youtube-api",
"version": "5.2.1",
"description": "A module to simplify the YouTube API.",
"author": "Bryan Pikaard <hypercoder@typicalbot.com>",
"maintainers": [
"Tyler Richards <rocket0191@gmail.com>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/simple-youtube/simple-youtube-api.git"
},
"bugs": {
"url": "https://github.com/simple-youtube/simple-youtube-api/issues"
},
"homepage": "https://github.com/simple-youtube/simple-youtube-api",
"sideEffects": false,
"main": "src/index.js",
"unpkg": "dist/sya.min.js",
"scripts": {
"build": "webpack",
"docs": "jsdoc -c jsdoc.json",
"test": "mocha"
},
"dependencies": {
"iso8601-duration": "^1.2.0",
"node-fetch": "^2.6.0"
},
"devDependencies": {
"dotenv": "^4.0.0",
"jsdoc": "^3.6.2",
"lodash.defaultsdeep": "^4.6.0",
"minami": "^1.1.0",
"mocha": "^3.5.3",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.4"
}
"name": "simple-youtube-api",
"version": "6.0.0-beta.1",
"description": "A library that wraps the YouTube Data API",
"license": "Apache-2.0",
"author": {
"name": "Tyler Richards",
"email": "hello@tjrgg.xyz"
},
"funding": "https://github.com/tjrgg/simple-youtube-api?sponsor=1",
"repository": "tjrgg/simple-youtube-api",
"engines": {
"node": ">=12.0.0",
"npm": "use-yarn",
"yarn": ">=1.22.0"
},
"main": "src/index.js",
"scripts": {
"build": "tsc",
"lint": "eslint src --ext .ts",
"lint:fix": "yarn run lint --fix",
"postversion": "git push && git push --tags"
},
"dependencies": {
"@enderverse/commitlint-config": "enderverse/commitlint-config",
"@enderverse/eslint-config": "enderverse/eslint-config",
"iso8601-duration": "^1.2.0",
"node-fetch": "^2.6.0"
},
"devDependencies": {
"@types/node-fetch": "^2.5.7",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"commitlint": "^8.3.5",
"dotenv": "^8.2.0",
"eslint": "^7.1.0",
"husky": "^4.2.5",
"typescript": "^3.9.3"
},
"commitlint": {
"extends": [
"@enderverse/commitlint-config"
]
},
"eslintConfig": {
"extends": [
"@enderverse/eslint-config",
"@enderverse/eslint-config/typescript"
],
"parser": "@typescript-eslint/parser",
"rules": {
"default-param-last": "off",
"no-unused-vars": "off"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}

@@ -1,22 +0,83 @@

# Simple YouTube API [![Discord](https://discordapp.com/api/guilds/430216837276368897/embed.png)](https://discord.gg/A97Qftr) [![Build Status](https://travis-ci.org/simple-youtube/simple-youtube-api.svg?branch=master)](https://travis-ci.org/simple-youtube/simple-youtube-api)
<h1 align="center">
simple-youtube-api
</h1>
A simpler way to interact with the YouTube Data API.
<h3 align="center">
simple-youtube-api is a library that wraps the YouTube Data API.
</h3>
<p align="center">
<a href="https://github.com/tjrgg/simple-youtube-api/fork">
<img alt="GitHub Forks" src="https://img.shields.io/github/forks/tjrgg/simple-youtube-api?label=Fork&style=social" />
</a>
<a href="https://github.com/tjrgg/simple-youtube-api">
<img alt="GitHub Stars" src="https://img.shields.io/github/stars/tjrgg/simple-youtube-api?label=Star&style=social" />
</a>
<a href="https://github.com/tjrgg/simple-youtube-api/subscription">
<img alt="GitHub Watchers" src="https://img.shields.io/github/watchers/tjrgg/simple-youtube-api?label=Watch&style=social" />
</a>
</p>
<p align="center">
<img alt="Contributors" src="https://img.shields.io/github/contributors-anon/tjrgg/simple-youtube-api?cacheSeconds=86400" />
<img alt="Issues" src="https://img.shields.io/github/issues/tjrgg/simple-youtube-api?cacheSeconds=86400" />
<img alt="Pull Requests" src="https://img.shields.io/github/issues-pr/tjrgg/simple-youtube-api?cacheSeconds=86400" />
<img alt="Size" src="https://img.shields.io/github/repo-size/tjrgg/simple-youtube-api?cacheSeconds=86400&label=size" />
<img alt="Version" src="https://img.shields.io/github/package-json/version/tjrgg/simple-youtube-api?cacheSeconds=86400&label=version" />
</p>
<p align="center">
<img alt="Dependencies" src="https://img.shields.io/david/tjrgg/simple-youtube-api?cacheSeconds=86400" />
<img alt="Vulnerabilities" src="https://img.shields.io/snyk/vulnerabilities/github/tjrgg/simple-youtube-api?cacheSeconds=86400" />
</p>
<p align="center">
<a href="https://discordapp.com/invite/vxXrG8W">
<img alt="Discord" src="https://img.shields.io/discord/110118478119174144?style=social" />
</a>
<a href="https://twitter.com/tjrgg">
<img alt="Twitter" src="https://img.shields.io/twitter/follow/tjrgg?style=social" />
</a>
</p>
## Install
npm
```sh
npm install simple-youtube-api
```
$ npm install simple-youtube-api
yarn
```sh
yarn add simple-youtube-api
```
## Usage
- [Documentation](https://simple-youtube.github.io/simple-youtube-api/master/)
- [Examples](https://github.com/simple-youtube/simple-youtube-api/tree/master/examples)
```js
const YouTube = require('simple-youtube-api');
const youtube = new YouTube('YOUTUBE-API-KEY');
## Maintainers
youtube.searchVideos('Centuries', 4)
.then(results => {
console.log(`The video's title is ${results[0].title}`);
})
.catch(console.log);
```
- [Tyler Richards](https://github.com/tjrgg)
## Author
👤 **Tyler Richards**
* GitHub: [@tjrgg](https://github.com/tjrgg)
* Twitter: [@tjrgg](https://twitter.com/tjrgg)
## License
[MIT License](LICENSE).
Copyright © 2020 Tyler Richards and contributors. All rights reserved.
Released under the [Apache License, version 2.0](LICENSE.md).
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc