Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/js_yaml_port/README.md

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

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