npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@eve-data/systems

v3.1.0

Published

Static data for all EVE Online star systems. The data is sourced from EVE Static Data Export (SDE) but offered via a custom API.

Downloads

67

Readme

@eve-data/systems

Static data for all EVE Online star systems. The data is sourced from EVE Static Data Export (SDE) but offered via a custom API.

This library can be used in browsers as well as with Node. The data gzips well which offers a viable alternative for fetching static data from an API during runtime (less than 150 KB gzipped).

Abyssal and Jovian systems are not included in this package. (If you have a use case for Abyssal systems, let me know. They should be quite easy to add if there is a strong case for including them in this dataset.)

The @eve-data project

This library is a part of the @eve-data project, please see the top-level README for more general information.

Usage

npm i @eve-data/systems

All Data

import systems from "@eve-data/systems";

console.log(systems);
// [
//     {
//         "name": "TXW-EI",
//         "secondaryName": null,
//         "id": 30003323,
//         "securityStatus": -0.01311255977769577,
//         "securityClass": "NULL",
//         "effect": null,
//         "region": {
//             "id": 10000041,
//             "name": "Syndicate"
//         },
//        "constellation": {
//             "id": 20000484,
//             "name": "YFN-UN"
//         },
//         "whClass": null,
//         "staticConnections": []
//     },
//     ...
// ]

Find One System

Find one system with name or ESI ID.

import { findOneSystem } from "@eve-data/systems";

// Use exact name as displayed in game.
const jita = findOneSystem({ name: "Jita" });

// Throws if system not found.
try {
  findOneSystem({ id: 1234567 });
} catch {
  console.log("Not found!");
}

Wormhole Effects

Wormhole effects are included for non-vanilla systems.

The strength values are signed to make them more sensible. The signs reflect the effect particular trait will have on an attribute of a ship or a module. This should be rather straightforward in all except the agility/inertia case (part of the Black Hole effect): The SDE's description talks about "ship agility", however, there is no such attribute in the game. The correct attribute here is ship inertia which has the opposite sign to "agility". Therefore I have left the strength value positive as the effect increases ship inertia. The long description is left as is ("Penalty to ship agility") but the short one is "Ship Inertia".

The isPositive booleans come straight from the SDE and appear to indicate whether the particular trait is considered beneficial to capsuleers or not. They might be slightly ambiguous at times but are often used to color the traits in UI's so I wanted to include them.

const wh = findOneSystem({ name: "J211817" });

console.log(wh.effect);
//        {
//            "id": "30867",
//            "name": "Pulsar",
//            "effectClass": 4,
//            "traits": [
//                {
//                    "strength": -36,
//                    "isPositive": true,
//                    "description": {
//                        "long": "Reduction in capacitor recharge time",
//                        "short": "Capacitor Recharge Time"
//                    }
//                },
//                ...
//            ]
//        },

License

Project code is licensed under MIT, game data is subject to CCP's EULA.