merge-yaml-ts
v1.0.7
Published
Very thin wrapper to merge multiple yaml files
Downloads
643
Readme
merge-yaml-ts
This is Typescript wrapper utility over js-yaml which will merge the multiple yaml fles and safeload them and return the parsed yml.
Example
import { mergeFiles } from 'merge-yaml-ts';
const input = [
__dirname + '/config1.yml',
__dirname + '/config2.yml',
];
const test = mergeFiles(input);
Tests
The repo contains linter, formatter, and the one simple unit test. All of this can be run with npm run default
.