yaml: reformat, fix README and homepage link, bump version

R=nweiz@google.com

Review URL: https://codereview.chromium.org//852003003
4 files changed
tree: f3f1b2b2ac7367d06d03f0f8d9bd3dec2b2f734a
  1. .gitignore
  2. .status
  3. CHANGELOG.md
  4. LICENSE
  5. README.md
  6. codereview.settings
  7. lib/
  8. libyaml-license.txt
  9. pubspec.yaml
  10. test/
README.md

A parser for YAML.

Use loadYaml to load a single document, or loadYamlStream to load a stream of documents. For example:

import 'package:yaml/yaml.dart';

main() {
  var doc = loadYaml("YAML: YAML Ain't Markup Language");
  print(doc['YAML']);
}

This library currently doesn't support dumping to YAML. You should use JSON.encode from dart:convert instead:

import 'dart:convert';
import 'package:yaml/yaml.dart';

main() {
  var doc = loadYaml("YAML: YAML Ain't Markup Language");
  print(JSON.encode(doc));
}