# eve-header

> Express middleware to parse EVE Online in-game-browser headers

Latest version **0.1.2** (published 2015-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install eve-header
pnpm add eve-header
yarn add eve-header
bun add eve-header
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2015-08-27 |
| First published | 2015-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | trichner |
| Keywords | eve, eve-online, express, header, EVE IGB |

## Links

- npm: https://www.npmjs.com/package/eve-header
- Repository: https://github.com/trichner/eve-header
- Issues: https://github.com/trichner/eve-header/issues
- npm.io page: https://npm.io/package/eve-header

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 0.1.2 (latest) — 2015-08-27
- 0.1.1 — 2015-08-27
- 0.1.0 — 2015-08-27

## README

Express middleware to parse EVE Online in-game-browser HTTP headers.

## Usage Example

```
var eveHeader = require('eve-header');
app.use(eveHeader);


app.get('/',function(req, res, next){
    var pilot = req.eve.char.name;
    res.send('Capsuleer ' + pilot + ' just docked :)');
});
```

## Headers

| Eve Header | req path |
|-----|-----|
|'eve_trusted' | 'trusted',|
|'eve_serverip' | 'server.ip',|
|'eve_charname' | 'char.name',|
|'eve_charid' | 'char.id',|
|'eve_corpname' | 'corp.name',|
|'eve_corpid' | 'corp.id',|
|'eve_alliancename' | 'alliance.name',|
|'eve_allianceid' | 'alliance.id',|
|'eve_regionname' | 'region.name',|
|'eve_constellationname' | 'constellation.name',|
|'eve_solarsystemname' | 'solarsystem.name',|
|'eve_stationname' | 'station.name',|
|'eve_stationid' | 'station.id',|
|'eve_corprole' | 'corp.role',|
|'eve_solarsystemid' | 'solarsystem.id',|
|'eve_warfactionid' | 'warfaction.id',|
|'eve_shipid' | 'ship.id',|
|'eve_shipname' | 'ship.name',|
|'eve_shiptypeid' | 'ship.type.id',|
|'eve_shiptypename' | 'ship.type.name' |

Documented here https://wiki.eveonline.com/en/wiki/IGB_Headers and here http://wiki.eveuniversity.org/In_Game_Browser_Development

## Good to know
- an nginx proxy will filter the headers by default, fix here: http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers

---
_Source: https://npm.io/package/eve-header · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
