Skip to content

Moon1706/merge-yaml-ts

Repository files navigation

merge-yaml-ts

Known Vulnerabilities Standard - JavaScript Style Guide

NPM

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.

About

Very thin wrapper to merge multiple yaml files

Resources

License

Stars

Watchers

Forks

Packages

No packages published