kvin
kvin copied to clipboard
Rich serialization library for JavaScript
`npm` scripts have access to the environment variable `npm_package_version` to get the `package.json` version.
`actions/setup-node` already handles caching with `actions/cache` in `actions/setup-node/src/cache-*`, therefore using `actions/cache` directly is unnecessary.
Map is enumerable, but has no built-in serialization method. We should treat it basically like Object, including the key enumeration order.
Serializing this gets four objects which are different but the same: ``` const x= {} kvin.marshal([{},{},x,x]).what ``` But the fourth object should be the same as the third object. lst...