maxminddb 1.4.1 copy "maxminddb: ^1.4.1" to clipboard
maxminddb: ^1.4.1 copied to clipboard

A library for querying MaxMind databases (like GeoLite2-City.mmdb).

example/main.dart

import 'dart:io';

import 'package:maxminddb/maxminddb.dart';

void main(List<String> args) async {
  final database = await MaxMindDatabase.file(File('GeoLite2-City.mmdb'));

  for (final arg in args) {
    print(await database.search(arg));
  }
}
4
likes
140
pub points
69%
popularity

Publisher

unverified uploader

A library for querying MaxMind databases (like GeoLite2-City.mmdb).

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

args, extendedip

More

Packages that depend on maxminddb