hateoas_models 0.2.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 37

REST Handler for Dart Shelf

Build Status Pub Version

Introduction

Provides Shelf models to help with HATEOAS

This is totally experimental and usage is currently discouraged ;-)

This package is being developed in conjunction with HATEOAS support in shelf_rest. When that is complete then this package is likely to be fleshed out, documented and ready for use

0.2.0

  • Strong mode changes. Changes to some generics

0.1.7

  • Update dependency versions on uri package

0.1.0

  • Many changes

0.0.1+1

  • removed unused dependency

0.0.1

  • experimental HATEOAS support

1. Depend on it

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


dependencies:
  hateoas_models: "^0.2.0"

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 packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:hateoas_models/hateoas_models.dart';
        
Version Uploaded Documentation Archive
0.2.0 Apr 10, 2016 Go to the documentation of hateoas_models 0.2.0 Download hateoas_models 0.2.0 archive
0.1.7 Jan 6, 2016 Go to the documentation of hateoas_models 0.1.7 Download hateoas_models 0.1.7 archive
0.1.6 Aug 12, 2015 Go to the documentation of hateoas_models 0.1.6 Download hateoas_models 0.1.6 archive
0.1.5 Jul 14, 2015 Go to the documentation of hateoas_models 0.1.5 Download hateoas_models 0.1.5 archive
0.1.4 Jun 25, 2015 Go to the documentation of hateoas_models 0.1.4 Download hateoas_models 0.1.4 archive
0.1.3 Jun 25, 2015 Go to the documentation of hateoas_models 0.1.3 Download hateoas_models 0.1.3 archive
0.1.2 Jun 25, 2015 Go to the documentation of hateoas_models 0.1.2 Download hateoas_models 0.1.2 archive
0.1.1 Jun 23, 2015 Go to the documentation of hateoas_models 0.1.1 Download hateoas_models 0.1.1 archive
0.1.0 Jun 9, 2015 Go to the documentation of hateoas_models 0.1.0 Download hateoas_models 0.1.0 archive
0.0.1+1 Oct 16, 2014 Go to the documentation of hateoas_models 0.0.1+1 Download hateoas_models 0.0.1+1 archive

All 12 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Jan 17, 2018
  • Dart: 2.0.0-dev.15.0
  • pana: 0.9.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
8 / 100
Health:
Code health derived from static analysis. [more]
97 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
22 / 100
Overall score:
Weighted score of the above. [more]
37

Platforms

Detected platforms: Flutter, server, web

No platform restriction found in libraries.

Suggestions

  • 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 hateoas_models.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0
option ^1.1.0 1.2.0
uri >=0.9.3 <0.12.0 0.11.1
Transitive dependencies
concepts 0.2.0
either 0.1.8
matcher 0.12.1+4
path 1.5.1
quiver 0.25.0 0.27.0
stack_trace 1.9.1
utf 0.9.0+3
Dev dependencies
test ^0.12.6+2