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 1.0.0 to 1.0.1

src/Client.js

6

index.js

@@ -1,5 +0,1 @@

class Fortnite {
constructor() {
}
}
module.exports = require('./src/Client');
{
"name": "fortnite",
"version": "1.0.0",
"description": "Fortnite leaderboards.",
"version": "1.0.1",
"description": "An easy to use module for interacting with the Fortnite API.",
"main": "index.js",

@@ -13,5 +13,2 @@ "scripts": {

},
"keywords": [
"fortnite"
],
"author": "Jake Ruston <rjake@hotmail.co.uk>",

@@ -23,5 +20,6 @@ "license": "MIT",

"homepage": "https://github.com/Jake-Ruston/fortnite#readme",
"devDependencies": {
"eslint": "^4.9.0"
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"snekfetch": "^3.5.2"
}
}

@@ -1,1 +0,21 @@

# Fortnite
# Fortnite
A simple to use module for interacting with the Fortnite API.
## Install
```
$ npm install fortnite
```
## How to
```js
// require the package
const Fortnite = require('fortnite');
// instantiate the client
const client = new Fortnite.Client();
```
## Methods
```js
client.info('mrappi', 'pc').then(data => data);
client.stats('mrappi', 'pc').then(data => data);
```
- `username` is required and must be a string.
- `platform` is `pc` by default and currently only supports PC.
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