This is a fork of js-yaml, containing a few changes to make it work with the modern javascript ecosystem.
- 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.
npm install @akrc/yaml