Current collected state Current
Observed since 20 Oct, 22:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0b1.org/yaml-reader
Ultra Lean yaml reader with no external dependencies
A minimalistic YAML parser with zero external dependencies.
Based on js-yaml by Vitaly Puzrin. Forked, heavily pruned, condensed and refactored.
NodeJS v20 or higher.
Install from within your project, like this:
npm install 0bone/yaml-reader
The file must be read into a string before calling the parser.
Example
const fs = require("node:fs");
const path = require("node:path");
const Parser = require("@0b1.org/yaml-reader/lib/parser");
const inputPath = path.join(__dirname, "./valid.yaml");
const inputData = fs.readFileSync(inputPath, "utf-8");
const result = Parser.Parse(inputData);
console.log(result);
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
Source distribution
{
"integrity": "sha512-lUto9hCjJUJKocgMJAmQ1Sr8DUzyfewNdZe8S6pIvI/5PqBEE+cnEnsipjEV066vVvKOiGwvfo15aFHpkZHguA==",
"shasum": "216bd4ed54be0407aee37592125d5a83f8597c35",
"tarball": "https://registry.npmjs.org/@0b1.org/yaml-reader/-/yaml-reader-1.0.1.tgz",
"fileCount": 6,
"unpackedSize": 61429,
"signatures": [
{
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
"sig": "MEQCIE1vnSJqasOXZS7XwXas+6Kita+AMA43SarxW03eKUPZAiBZu3SFRap5nklkCYym9iacPM3xNTiDxIfodoXvUtqcMg=="
}
]
}Observed since 20 Oct, 22:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:d85d383ddf8475458a67791015bbe96a3bcb39a05df8571d540aa4017429ba8e