@cfn2/read-template

0.1.0 • Public • Published

@cfn2/read-template

Read templates of CloudFormation.

Installation

npm i @cfn2/read-template

Usage

const { readTemplate } = require('@cfn2/read-template');

readTemplate('path/to/template-file', (err, template) => {
});

readTemplate(path, callback)

  • path
    • A path to read a template.
  • callback(err, template)
    • A callback which is called when parsing of a template is finished, or an error occurs.
    • If the template is YAML, abbreviated syntax is expanded.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @cfn2/read-template

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

1.91 kB

Total Files

4

Last publish

Collaborators

  • nak2k