@dailynodemodule/emperor-data
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "@dailynodemodule/emperor-data", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Data on emperors of the Holy Roman Empire for use as sample data in other projects", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -13,10 +13,10 @@ # Emperors Data | ||
To build run `npm run build`. Output will be saved to the `data` folder. The output format is LZMA compressed BSON (e.g. .bson.xz) to save space when publishing to NPM. | ||
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. | ||
# Installing | ||
Once built, you can decompress the BSON files with `npm run decompress`. | ||
Once built, you can decompress the MessagePack files with `npm run decompress`. | ||
# Using | ||
To access the data use `require('@dailynodemodule/emperor-data')`. The module exposes two Array-like objects `emperors` and `states`. The data and returned at runtime to avoid memory constraints. | ||
To access the data use `require('@dailynodemodule/emperor-data')`. The module exposes two Array-like objects `emperors` and `states`. The data and loaded at runtime to avoid memory constraints. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63099910