1.0.4 • Published 2 years ago

@znetstar/president-data v1.0.4

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
2 years ago

Presidents Data

NPM

This package contains a data on presidents of the United States for use as sample data in other projects.

The data was compiled from a Wikipedia page located at https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States.

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 MessagePack.

Using

(async () => {
  let Pres = require('./');
  let b = await Pres.presidents[0];
  console.log(b);
})();