Skip to main content
Deno 2 is finally here 🎉️
Learn more

Simple JS-YAML port for Deno

This is a simple and crude port of JS-YAML for Deno.

Usage

Just import js-yaml.js file. For example:

import { load } from 'https://deno.land/x/js_yaml_port/js-yaml.js'
console.log(load('hello: world')) // => prints { hello: "world" }

API References

Just use JS-YAML repo for references.

Development

Required tools

  • node to run package manager.
  • pnpm to install npm packages.
  • deno to build and test.
  • cp.
  • make.

Build and Test

Build

make js-yaml.js

Test

make test

License

MIT © Hoàng Văn Khải