Clone this repo:
  1. fbb921d Bump actions/stale from 9.0.0 to 9.1.0 in the github-actions group (#176) by dependabot[bot] · 8 weeks ago master
  2. 0406507 Update README.md before archiving (#175) by Moritz · 3 months ago
  3. 2a37272 Bump dart-lang/setup-dart in the github-actions group (#173) by dependabot[bot] · 4 months ago
  4. 402655e Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group (#172) by dependabot[bot] · 5 months ago
  5. 6cc2745 blast_repo fixes (#171) by Kevin Moore · 5 months ago

[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/tools/tree/main/pkgs/yaml

Build Status Pub Package package publisher

A parser for YAML.

Usage

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));
}