venosyd_shelf_addons 1.0.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 46

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

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

Alternatively, your editor might support pub 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

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

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

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

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

Platforms

Detected platforms: web, other

Primary library: package:venosyd_shelf_addons/venosyd_shelf_addons.dart with components: mirrors.

Suggestions

  • Fix .analysis_options.

    We were unable to parse .analysis_options.

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

  • 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.11.0
shelf >=0.6.2 <0.7.0 0.6.8 0.7.2
shelf_route >=0.14.0 <0.15.0 0.14.3
Transitive dependencies
analyzer 0.27.6 0.31.0+1
args 0.13.7 1.3.0
async 1.13.3 2.0.3
barback 0.15.2+14
charcode 1.1.1
cli_util 0.0.1+2 0.1.2+1
code_transformers 0.4.2+3 0.5.1+4
collection 1.14.5
concepts 0.2.0
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 0.2.11+1 1.0.9+1
drails_commons 0.0.8
either 0.1.8
glob 1.1.5
html 0.13.2+2
http_parser 3.1.1
isolate 0.2.3 1.1.0
logging 0.11.3+1
matcher 0.12.1+4
option 1.2.0
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
pool 1.3.4
quiver 0.25.0 0.28.0
reflectable 0.5.4 1.0.4
shelf_path 0.1.8
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.1
stream_channel 1.6.3
string_scanner 1.0.2
typed_data 1.1.5
uri 0.11.1
utf 0.9.0+4
watcher 0.9.7+7
when 0.2.0
which 0.1.3
yaml 2.1.13
Dev dependencies
test >=0.12.0 <0.13.0