jaguar_reflect_bootstrap 0.4.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 49

jaguar_reflect_bootstrap

Bootstrapper for jaguar_reflect to automatically add Api from imported libraries

Usage

A simple usage example:

  Jaguar server = new Jaguar();
  bootstrap(server);

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.0.1

  • Initial version, created by Stagehand

example/jaguar_reflect_bootstrap_example.dart

// Copyright (c) 2017, teja. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:jaguar_reflect_bootstrap/jaguar_reflect_bootstrap.dart';
import 'package:jaguar/jaguar.dart';

@Api()
class ExampleApi {}

@Api()
class ExampleApi1 {}

main() {
  Jaguar server = new Jaguar();
  bootstrap(server);
}

1. Depend on it

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


dependencies:
  jaguar_reflect_bootstrap: "^0.4.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:jaguar_reflect_bootstrap/jaguar_reflect_bootstrap.dart';
        
Version Uploaded Documentation Archive
0.4.0 Feb 19, 2017 Go to the documentation of jaguar_reflect_bootstrap 0.4.0 Download jaguar_reflect_bootstrap 0.4.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]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
49

Platforms

Detected platforms: other

Primary library: package:jaguar_reflect_bootstrap/jaguar_reflect_bootstrap.dart with components: io, mirrors.

Suggestions

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

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
jaguar >=0.4.0 <0.5.0 0.4.3 1.3.4
jaguar_reflect >=0.4.3 <0.5.0 0.4.6 1.3.2
Transitive dependencies
args 0.13.7 1.3.0
charcode 1.1.1
collection 1.14.5
http_server 0.9.7
intl 0.14.0 0.15.2
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
mime 0.9.6
path 1.5.1
quiver 0.28.0
quiver_hashcode 1.0.0
source_span 1.4.0
stack_trace 1.9.1
string_scanner 1.0.2
yaml 2.1.13
Dev dependencies
test >=0.12.0 <0.13.0