bson 0.3.1

  • README.md
  • Installing
  • Versions
  • 72

bson

Build Status

Bson library for Dart programming language

Use this package as a library

1. Depend on it

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


dependencies:
  bson: "^0.3.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:bson/bson.dart';
  
Version Uploaded Documentation Archive
0.3.1 May 13, 2018 Go to the documentation of bson 0.3.1 Download bson 0.3.1 archive
0.3.0 Jul 23, 2017 Go to the documentation of bson 0.3.0 Download bson 0.3.0 archive
0.2.0 Jul 25, 2015 Go to the documentation of bson 0.2.0 Download bson 0.2.0 archive
0.1.23 Sep 6, 2014 Go to the documentation of bson 0.1.23 Download bson 0.1.23 archive
0.1.22 Sep 6, 2014 Go to the documentation of bson 0.1.22 Download bson 0.1.22 archive
0.1.21 Aug 29, 2014 Go to the documentation of bson 0.1.21 Download bson 0.1.21 archive
0.1.20 Aug 15, 2014 Go to the documentation of bson 0.1.20 Download bson 0.1.20 archive
0.1.19 Aug 14, 2014 Go to the documentation of bson 0.1.19 Download bson 0.1.19 archive
0.1.18 Mar 29, 2014 Go to the documentation of bson 0.1.18 Download bson 0.1.18 archive
0.1.17 Mar 29, 2014 Go to the documentation of bson 0.1.17 Download bson 0.1.17 archive

All 25 versions...

Analysis

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

Scores

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

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • Maintain CHANGELOG.md.

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

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 35 hints.

    Run dartfmt to format lib/bson.dart.

    Run dartfmt to format lib/src/bson_impl.dart.

    Similar analysis of the following files failed:

    • lib/src/bson_type.dart (hint)
    • lib/src/statics.dart (hint)
    • lib/src/types/array.dart (hint)
    • lib/src/types/binary.dart (hint)
    • lib/src/types/boolean.dart (hint)
    • lib/src/types/date.dart (hint)
    • lib/src/types/dbpointer.dart (hint)
    • lib/src/types/dbref.dart (hint)
    • lib/src/types/double.dart (hint)
    • lib/src/types/int.dart (hint)
    • lib/src/types/map.dart (hint)
    • lib/src/types/min_max_keys.dart (hint)
    • lib/src/types/null.dart (hint)
    • lib/src/types/objectid.dart (hint)
    • lib/src/types/regexp.dart (hint)
    • lib/src/types/string.dart (hint)
    • lib/src/types/timestamp.dart (hint)
  • 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 bson.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=0.8.10+6 <2.0.0
fixnum >=0.9.0 <2.0.0 0.10.7
more >=1.3.2 <2.0.0 1.9.0
Transitive dependencies
collection 1.14.10
Dev dependencies
browser >=0.9.0
dart_coveralls >=0.1.11
test >=0.12.2