@dailynodemodule/emperor-data

Data on emperors of the Holy Roman Empire for use as sample data in other projects

Usage no npm install needed!

<script type="module">
  import dailynodemoduleEmperorData from 'https://cdn.skypack.dev/@dailynodemodule/emperor-data';
</script>

README

Emperors Data

NPM

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);
})();