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

fortnite

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fortnite - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

4

package.json
{
"name": "fortnite",
"version": "2.0.2",
"version": "2.0.3",
"description": "Fortnite leaderboards.",

@@ -28,4 +28,4 @@ "main": "index.js",

"cheerio": "^1.0.0-rc.2",
"snekfetch": "^3.5.2"
"snekfetch": "^3.5.3"
}
}
# Fortnite
A simple to use module for interacting with the Fortnite API.
A simple to use module for interacting with the FortniteTracker API.

@@ -67,4 +67,4 @@ ## Install

Data { stat: 'killsPerMatch', value: '3.93' }
]
]
}
```
const Info = require('./Info');
const Stat = require('./Stat');
const Data = require('./Data');
const { get } = require('snekfetch');
const { load } = require('cheerio');
const fetch = require('node-fetch');

@@ -17,3 +17,4 @@ /**

const { text } = await get(`https://fortnitetracker.com/profile/${platform.toLowerCase()}/${username}`);
const res = await fetch(`https://fortnitetracker.com/profile/${platform.toLowerCase()}/${username}`);
const text = await res.text();
const $ = load(text);

@@ -20,0 +21,0 @@ if (!$('#profile').length) throw new Error('404');

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