document_db 0.0.1

  • Installing
  • Versions
  • 30


A common interface for IndexedDB and MongoDB in Dart. Use the same API to store and retrieve JSON data online and offline.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  document_db: "^0.0.1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:document_db/document_db.dart';
Version Uploaded Documentation Archive
0.0.1 Jun 17, 2016 Go to the documentation of document_db 0.0.1 Download document_db 0.0.1 archive


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
100 / 100
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:document_db/document_db.dart.


  • Maintain

    Changelog entries help clients to follow the progress in your code.

  • Package is too old.

    The package was released more than two years ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use document_db.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 hint.

    Strong-mode analysis of lib/src/indexed_db.dart gave the following hint:

    line: 21 col: 21
    Unnecessary cast.


Package Constraint Resolved Available
Direct dependencies
browser >=0.10.0+2 <0.11.0 0.10.0+3
bson >=0.2.0 <0.3.0 0.2.0 0.3.1
mongo_dart >=0.2.5+1 <0.3.0 0.2.10 0.3.1
Transitive dependencies
charcode 1.1.1
collection 1.14.10
convert 2.0.1
crypto 2.0.5
fixnum 0.10.7
logging 0.11.3+1
mongo_dart_query 0.2.2 0.3.0
more 1.9.0
typed_data 1.1.5
uuid 0.5.3 1.0.0
Dev dependencies
test any