Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtubesubs-count-v1

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtubesubs-count-v1 - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

17

index.js

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

const fetch = require("node-fetch")
module.exports = youtubeSubsFn = function(youtube_channel_id, google_youtube_api_key ) {
return new Promise((resolve, reject) => {
fetch(`https://www.googleapis.com/youtube/v3/channels?part=statistics&id=${youtube_channel_id}&key=${google_youtube_api_key}`)
.then((res) => res.json())
.then((response) => {
resolve(response)
}).catch((error) => {
reject(error)
})
})
}
exports.printMsg = function() {
console.log("This is a message from the demo package");
}

7

package.json
{
"name": "youtubesubs-count-v1",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -10,6 +10,3 @@ "main": "index.js",

"author": "abhishek",
"license": "ISC",
"dependencies": {
"node-fetch": "^2.6.1"
}
"license": "ISC"
}
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