wasm 0.0.2

  • Readme
  • Changelog
  • Installing
  • 51

WebAssembly VM for Dart #

Project license Pub package Dartdoc reference Travis CI build status

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Use this package as a library

1. Depend on it

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

  wasm: ^0.0.2

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:wasm/wasm.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.5.1
  • pana: 0.12.21


Detected platforms: Flutter, web, other

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

Health suggestions

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

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

line 4 col 7: Declaring a class named 'Function' is deprecated.

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

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

line 22 col 28: Use ; instead of {} for empty constructor bodies.

Format lib/src/address.dart.

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

Format lib/src/memory.dart.

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

Format lib/src/store.dart.

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

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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 wasm.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
drylib ^0.0.0 0.0.0
Dev dependencies
test >=1.3.4 <2.0.0