json_api_server 0.0.7

  • README.md
  • Installing
  • Versions
  • 53

JSON:API Server. This is a work-progress, the API is very unstable.

Use this package as a library

1. Depend on it

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


dependencies:
  json_api_server: ^0.0.7

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:json_api_server/json_api_server.dart';
  
Version Uploaded Documentation Archive
0.0.7 Apr 25, 2019 Go to the documentation of json_api_server 0.0.7 Download json_api_server 0.0.7 archive
0.0.6 Apr 25, 2019 Go to the documentation of json_api_server 0.0.6 Download json_api_server 0.0.6 archive
0.0.5 Apr 25, 2019 Go to the documentation of json_api_server 0.0.5 Download json_api_server 0.0.5 archive
0.0.4 Apr 14, 2019 Go to the documentation of json_api_server 0.0.4 Download json_api_server 0.0.4 archive
0.0.3 Apr 14, 2019 Go to the documentation of json_api_server 0.0.3 Download json_api_server 0.0.3 archive
0.0.2 Mar 29, 2019 Go to the documentation of json_api_server 0.0.2 Download json_api_server 0.0.2 archive
0.0.1 Mar 29, 2019 Go to the documentation of json_api_server 0.0.1 Download json_api_server 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
22
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

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

  • Dart: 2.3.2
  • pana: 0.12.18

Platforms

Detected platforms: Flutter, other

Primary library: package:json_api_server/json_api_server.dart with components: io.

Health suggestions

Fix lib/src/pagination/numbered_page.dart. (-0.50 points)

Analysis of lib/src/pagination/numbered_page.dart reported 1 hint:

line 1 col 8: Unused import: 'dart:math'.

Fix lib/src/uri_manipulation.dart. (-0.50 points)

Analysis of lib/src/uri_manipulation.dart reported 1 hint:

line 7 col 7: DO use curly braces for all flow control structures.

Format lib/src/collection.dart.

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

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (1 direct: json_api_document).

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and json_api_server.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
http ^0.12.0 0.12.0+2
json_api_document ^1.0.2 1.0.2 1.1.0-dev.2
Transitive dependencies
async 2.2.0
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.7
path 1.6.2
pedantic 1.7.0
source_span 1.5.5
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
json_api ^1.0.0
json_matcher ^0.2.3
test ^1.3.0
uuid ^2.0.0