bson 0.3.2

  • README.md
  • Installing
  • Versions
  • 78

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.2

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.2 Jul 26, 2018 Go to the documentation of bson 0.3.2 Download bson 0.3.2 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

All 26 versions...

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

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

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, web, other

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

Issues and suggestions

Maintain CHANGELOG.md.

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

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 of the 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.

Format lib/bson.dart.

Run dartfmt to format lib/bson.dart.

Format lib/src/bson_impl.dart.

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

Use analysis_options.yaml.

Rename old .analysis_options file to analysis_options.yaml.

Read more about the setup of analysis-options.yaml.

Fix additional 17 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/bson_type.dart (Run dartfmt to format lib/src/bson_type.dart.)
  • lib/src/statics.dart (Run dartfmt to format lib/src/statics.dart.)
  • lib/src/types/array.dart (Run dartfmt to format lib/src/types/array.dart.)
  • lib/src/types/binary.dart (Run dartfmt to format lib/src/types/binary.dart.)
  • lib/src/types/boolean.dart (Run dartfmt to format lib/src/types/boolean.dart.)
  • lib/src/types/date.dart (Run dartfmt to format lib/src/types/date.dart.)
  • lib/src/types/dbpointer.dart (Run dartfmt to format lib/src/types/dbpointer.dart.)
  • lib/src/types/dbref.dart (Run dartfmt to format lib/src/types/dbref.dart.)
  • lib/src/types/double.dart (Run dartfmt to format lib/src/types/double.dart.)
  • lib/src/types/int.dart (Run dartfmt to format lib/src/types/int.dart.)
  • lib/src/types/map.dart (Run dartfmt to format lib/src/types/map.dart.)
  • lib/src/types/min_max_keys.dart (Run dartfmt to format lib/src/types/min_max_keys.dart.)
  • lib/src/types/null.dart (Run dartfmt to format lib/src/types/null.dart.)
  • lib/src/types/objectid.dart (Run dartfmt to format lib/src/types/objectid.dart.)
  • lib/src/types/regexp.dart (Run dartfmt to format lib/src/types/regexp.dart.)
  • lib/src/types/string.dart (Run dartfmt to format lib/src/types/string.dart.)
  • lib/src/types/timestamp.dart (Run dartfmt to format lib/src/types/timestamp.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.69.2 <3.0.0
fixnum ^0.10.8 0.10.8
more ^1.9.2 1.10.1
Transitive dependencies
collection 1.14.11
Dev dependencies
test ^1.3.0