CloudFormation Schema for js-yaml

JSON →
library 2.0.2 ·javascript
verified Jun 7, 2026

js-yaml schema that adds CloudFormation custom YAML tags (!Ref, !Sub, !GetAtt, !If, etc.) enabling standard YAML parsers to handle CloudFormation templates. Current stable version 2.0.2, maintained since 2018, with low release cadence. It transforms tags into plain objects (e.g., !Ref logicalId -> {Ref: logicalId}) mimicking the long-form syntax. Differentiator: lightweight, no additional dependencies beyond js-yaml peer dep, and supports all core CloudFormation intrinsic functions.