
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
epicgames-fortnite-client
Advanced tools
The javascript client for Fortnite.
This library supports only fortnite client. If you need launcher, check node-epicgames-client
npm i epicgames-fortnite-client --save
Check our discord server: https://discord.gg/HxGfuEx
const EGClient = require('epicgames-client').Client;
const Fortnite = require('epicgames-fortnite-client');
let eg = new EGClient({
email: 'EMAIL',
password: 'PASSWORD'
});
eg.init().then(async (success) => {
if(!success)
throw new Error('Cannot initialize EpicGames launcher.');
if(!await eg.login())
throw new Error('Cannot login on EpicGames account.');
let fortnite = await eg.runGame(Fortnite);
let stats = await fortnite.getStatsBR('Kysune');
console.dir(stats);
});
const FortniteClient = require('epicgames-fortnite-client').Client;
let fortnite = new FortniteClient(eg, {
use_waiting_room: true, //false to ignore waiting room (epicgames load balancer)
http: {
//settings for lib https://github.com/request/request
}
});
Initialize client
Login to an account.
Sets language for client.
en-US
, pl-PL
(or pl
)Returns an object with all subgames (e.g. Battle Royale, Save The World, Creative) and last modified time.
Returns all basic data. That informations are received while start game.
Refreshing all basic data. You can use this after change client's language.
Returns raw fortnite store catalog (items possible to buy e.g. starter kit, battle pass)
Returns an object with list of news for subgame Battle Royale and last modified time.
Returns an object of statistics for the Battle Royale mode. An object is divided on platforms with objects, which is divided on game's modes (solo/duo/squad).
weekly
or alltime
Returns list of store featured items
Returns list of store daily items
Returns an object with list of tournaments and last modified time.
Returns an object with list of all game modes and last modified time.
Returns an object with list of news for subgame Save The World and last modified time.
Returns object with full info about locations, missions etc. You don't need bought subgame Save The World.
Returns informations about creative world.
Returns list of your creative worlds.
Communicator is same as in node-epicgames-client
. When you has run a game, launcher's communicator has been ignoring, because game's communicator have higher priority.
MIT License
Copyright (c) 2018 Kysune
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Unofficial Fortnite client in javascript.
The npm package epicgames-fortnite-client receives a total of 96 weekly downloads. As such, epicgames-fortnite-client popularity was classified as not popular.
We found that epicgames-fortnite-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.