3.0.0 • Published 4 years ago
@dailynodemodule/emperor-data v3.0.0
Emperors Data
This package contains a data on emperors and states of the Holy Roman Empire for use as sample data in other projects.
The data was compiled from a Wikipedia page located at https://en.wikipedia.org/wiki/Holy_Roman_Emperor and https://en.wikipedia.org/wiki/List_of_states_in_the_Holy_Roman_Empire.
The content is licensed under the Creative Commons Attribution-Share-Alike License 3.0.
Building
To build run npm run build. Output will be saved to the data folder. The output format is LZMA compressed MessagePack (e.g. .xz) to save space when publishing to NPM.
Using
(async () => {
let Emp = require('@dailynodemodule/emperor-data');
let b = await Emp.emperors[0];
console.log(b);
})();