ad863eaabcdbbf258eba4581e11b0b83e7812596
When data-files are not cached, some chunks are really small (like 36 bytes small). This could cause the buffer to be too small to decode the next entry, causing a failure. Solve this by always reading at least 2048 bytes in the next buffer. This is a bit slow, as it has to copy over all the chunks leading up to 2048 bytes into a new buffer.
React Component library for EVEShip.fit
This repository contains all the components used to build EVEShip.fit.
Components
Via Storybook you can view all the components, their description, and how to use them.
Embedding in your own application
This library can (freely) be used to visualize an EVE Fit in your own (React) application, by using the components you like most.
Important to note is that by default the data-files are downloaded from https://data.eveship.fit/.
But this URL is protected by a CORS, to avoid unrealistic cost on our side.
If you use this library yourself, you would have to host these files yourself too.
You can define the URL they are hosted on in the EveDataProvider via dataUrl.
Languages
TypeScript
81.5%
JavaScript
13.1%
CSS
5%
Shell
0.4%