venosyd_shelf_addons 1.0.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 39

venosyd_shelf_addons

Addons to Venosyd Shelf-like servers. These addons are:

- corsMiddleWare for CORS treatment
- jsonHandler, makeResponse, dartsonListToJson to treat data convertion

Usage

A simple usage example:

import 'package:venosyd_shelf_addons/venosyd_shelf_addons.dart';

main() {
  ..
  
  Middleware mw = logRequests();
  Pipeline pl = new Pipeline();
  pl = pl.addMiddleware(corsMiddleWare).addMiddleware(mw);
  
  ...
}

Changelog

1.0.0

  • Initial version

Use this package as a library

1. Depend on it

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


dependencies:
  venosyd_shelf_addons: "^1.0.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 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:venosyd_shelf_addons/venosyd_shelf_addons.dart';
  
Version Uploaded Documentation Archive
1.0.0 Dec 15, 2016 Go to the documentation of venosyd_shelf_addons 1.0.0 Download venosyd_shelf_addons 1.0.0 archive

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]
0 / 100
Health:
Code health derived from static analysis. [more]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
49 / 100
Overall score:
Weighted score of the above. [more]
39
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • Fix .analysis_options.

    We were unable to parse .analysis_options.

  • Package is getting outdated.

    The package was released 78 weeks 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.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 3 hints.

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

    Run dartfmt to format lib/venosyd_shelf_addons.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

  • Enable strong mode analysis.

    Strong mode helps you to detect bugs and potential issues earlier.Start your analysis_options.yaml file with the following:

    analyzer:
      strong-mode: true
    

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
dson >=0.3.4 <0.4.0 0.3.4 0.13.2
shelf >=0.6.2 <0.7.0 0.6.8 0.7.3+1
shelf_route >=0.14.0 <0.15.0 0.14.3
Transitive dependencies
analyzer 0.27.6 0.32.1
args 0.13.7 1.4.3
async 1.13.3 2.0.7
barback 0.15.2+16
charcode 1.1.1
cli_util 0.0.1+2 0.1.3
code_transformers 0.4.2+3 0.5.1+5
collection 1.14.10
concepts 0.2.0
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
dart_style 0.2.11+1 1.1.0
drails_commons 0.0.8
either 0.1.8
glob 1.1.5
html 0.13.3+1
http_parser 3.1.2
isolate 0.2.3 2.0.1
logging 0.11.3+1
matcher 0.12.3
meta 1.1.5
option 1.2.0
package_config 1.0.3
path 1.6.1
plugin 0.2.0+2
pool 1.3.5
quiver 0.29.0+1
reflectable 0.5.4 2.0.1
shelf_path 0.1.8
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.7+1
string_scanner 1.0.2
typed_data 1.1.5
uri 0.11.2
utf 0.9.0+4
watcher 0.9.7+8
when 0.2.0
which 0.1.3
yaml 2.1.14
Dev dependencies
test >=0.12.0 <0.13.0