@akrc/yaml
v4.2.0
Published
YAML 1.2 parser and serializer
Downloads
18
Maintainers
Readme
JS-YAML - YAML 1.2 parser / writer for JavaScript
Introduction
This is a fork of js-yaml, containing a few changes to make it work with the modern javascript ecosystem.
Changes
- Remove the
js-yaml
global cli, as it is not needed. - Migrate all code to esm, so it can be well tree-shaken.
- Build for esm and cjs, no umd, if you want umd build, just import from the original package.
- Add TypeScript typings, now you don't need to install
@types/js-yaml
anymore. - Quite smaller package size, shrink the package size from 0.5MB to 0.1MB.
Installation
npm install @akrc/yaml