Socket
Socket
Sign inDemoInstall

omgdotlol

Package Overview
Dependencies
7
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

20

index.js

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

exports.printMsg = function() {
console.log("Just making sure this works, soon you'll actually be able to use this.");
}
const fetch = require('node-fetch');
class Client {
constructor(token) {
this.token = token;
}
async get(url) {
const response = await fetch(url, {
headers: {
Authorization: `Bearer ${this.token}`,
},
});
return response.json();
}
}

9

package.json
{
"name": "omgdotlol",
"version": "0.0.1",
"version": "0.0.2",
"description": "API wrapper for omg.lol",

@@ -13,3 +13,3 @@ "main": "index.js",

},
"author": "Bye",
"author": "Bye <bye@omg.lol> (https://bye.omg.lol)",
"license": "MIT",

@@ -19,3 +19,6 @@ "bugs": {

},
"homepage": "https://github.com/byemc/omgdotlol#readme"
"homepage": "https://github.com/byemc/omgdotlol#readme",
"dependencies": {
"node-fetch": "^2.6.7"
}
}
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