{"library":"refs-compiler","title":"Refs Compiler","description":"Compiler for YAML, JSON and INI files using path references. Version 2.0.2 is the latest stable release. The library resolves $ref references in configuration files, enabling modular composition of templates. Designed for Node.js 8+ with native Promises and async/await. Key differentiator: supports YAML, JSON, and INI formats with CLI and programmatic API. Active development with security fixes for js-yaml and handlebars dependencies.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install refs-compiler"],"cli":{"name":"refs-compiler","version":null}},"imports":["import compiler from 'refs-compiler'","import compiler from 'refs-compiler'","const { default: compiler } = require('refs-compiler')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import path from 'path';\nimport compiler from 'refs-compiler';\n\nconst inputTemplate = path.resolve('/path/to/template.yaml');\nconst outputFile = path.resolve('/path/to/output.yaml');\n\ntry {\n  const results = await compiler(inputTemplate, outputFile);\n  console.log(`file created in ${results.outputFile}`);\n} catch (error) {\n  console.error(`An error occurred: ${error.message}`);\n}\n","lang":"typescript","description":"Resolves $ref references in a YAML template and writes the compiled output to a file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}