maxmind
- Version 4.3.23
- Published
- 23.3 kB
- 2 dependencies
- MIT license
Install
npm i maxmind
yarn add maxmind
pnpm add maxmind
Overview
IP lookup using Maxmind databases
Index
Variables
variable _default
const _default: { init: () => never; open: <T extends Response>( filepath: string, opts?: OpenOpts, cb?: Callback ) => Promise<Reader<T>>; openSync: () => never; validate: (ip: string) => boolean;};
Functions
Interfaces
interface OpenOpts
interface OpenOpts {}
property cache
cache?: { max: number;};
property watchForUpdates
watchForUpdates?: boolean;
property watchForUpdatesHook
watchForUpdatesHook?: Callback;
property watchForUpdatesNonPersistent
watchForUpdatesNonPersistent?: boolean;
Package Files (1)
Dependencies (2)
Dev Dependencies (13)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/maxmind
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/maxmind)
- HTML<a href="https://www.jsdocs.io/package/maxmind"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3590 ms. - Missing or incorrect documentation? Open an issue for this package.