merge-yaml-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i merge-yaml-ts

Weekly Downloads

20

Version

1.0.7

License

MIT

Unpacked Size

5.67 kB

Total Files

10

Last publish

Collaborators

  • moon1706