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
160
points
555
downloads

Publisher

unverified uploader

Weekly Downloads

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