New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mmdb2json

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mmdb2json

A simple code and command-line utils to convert mmdb to json

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Mmdb2Json

NPM Version Package License

Table of Contents

Description

A simple code and command-line utils to convert mmdb to json

Command line

Globally via npm

npm install --global mmdb2json

Running on-demand:

npx mmdb2json [options]

Examples

npx mmdb2json --help
    'usage: mmdb2json [options]',
    '',
    'options:',
    '  --input      Path to .mmdb file [GeoLite2-City.mmdb]',
    '  --output     Path to .json file [GeoLite2-City.json]',
    '  --help       Print this list and exit',
    '  --version    Print the version and exit.',
    '',

Use in code

Installation

npm install mmdb2json

Examples

  import { Mmdb2Json } from 'mmdb2json';

  const reader = Mmdb2Json.openSync(input);
  const result = reader.get();

License

MIT

Keywords

maxmind

FAQs

Package last updated on 04 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts