An esbuild plugin that allows importing YAML files as ES6 modules, converting YAML content into JavaScript objects at build time. Currently at version 0.0.1, it relies on js-yaml for parsing and provides options for custom load options and a transformation hook. Minor updates expected; alternative to other JSON/YAML esbuild plugins with a focus on simplicity and TypeScript support.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is ESM-only; require() will fail. Use dynamic import() in CommonJS contexts.
Default export is not available; only named export yamlPlugin exists.
YAMLOptions is only a type export, not a runtime value.
Configure esbuild to import YAML files as ES6 modules using the yamlPlugin.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.