Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dailynodemodule/emperor-data

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dailynodemodule/emperor-data - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc