{"id":26671,"library":"yakumo-esbuild-yaml","title":"yakumo-esbuild-yaml","description":"A yakumo plugin that adds YAML file support to the esbuild compiler. Version 0.3.1. This plugin integrates with yakumo and its esbuild plugin to allow importing .yaml/.yml files as JavaScript objects. Unlike generic yaml loaders for esbuild, this one is specifically designed for the yakumo build system and respects its plugin pipeline. It is a thin wrapper providing a yakumo-specific interface. Releases are periodic, following yakumo ecosystem updates. Ships TypeScript declarations.","status":"active","version":"0.3.1","language":"javascript","source_language":"en","source_url":"https://github.com/shigma/yakumo","tags":["javascript","yakumo","plugin","extension","yaml","esbuild","compile","typescript"],"install":[{"cmd":"npm install yakumo-esbuild-yaml","lang":"bash","label":"npm"},{"cmd":"yarn add yakumo-esbuild-yaml","lang":"bash","label":"yarn"},{"cmd":"pnpm add yakumo-esbuild-yaml","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency, core framework","package":"yakumo","optional":false},{"reason":"peer dependency, provides esbuild integration","package":"yakumo-esbuild","optional":false}],"imports":[{"note":"ESM-only package; default export is the plugin factory.","wrong":"const yaml = require('yakumo-esbuild-yaml')","symbol":"default","correct":"import yaml from 'yakumo-esbuild-yaml'"},{"note":"The package only has a default export. Named exports are not available.","wrong":"import { yaml } from 'yakumo-esbuild-yaml'","symbol":"plugin name","correct":"import yaml from 'yakumo-esbuild-yaml'"},{"note":"Type-only export; avoid value import.","wrong":"import { Yake } from 'yakumo-esbuild-yaml'","symbol":"type","correct":"import type { Yake } from 'yakumo-esbuild-yaml'"}],"quickstart":{"code":"import yaml from 'yakumo-esbuild-yaml'\n\n// In yakumo config file (e.g., .yakumo.yml)\nexport default {\n  plugins: [\n    // ... other plugins\n    yaml(),\n  ],\n}","lang":"typescript","description":"Shows how to import and use the default export of yakumo-esbuild-yaml in a yakumo configuration file."},"warnings":[{"fix":"Update to 0.3.1 and adjust usage: default export no longer requires arguments.","message":"Package version 0.3.0 and earlier used a different default export signature.","severity":"deprecated","affected_versions":"<=0.3.0"},{"fix":"Use separate plugins for other formats.","message":"This plugin only supports YAML files (`.yaml`, `.yml`). It does not handle JSON5 or other data formats.","severity":"gotcha","affected_versions":"all"},{"fix":"Install peer dependencies: npm install yakumo yakumo-esbuild","message":"Requires both yakumo and yakumo-esbuild as peer dependencies. Missing them will cause runtime errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Update imports to use the correct package name.","message":"In version 0.2.x, the plugin was named 'yaml' but exported via a different path. Starting 0.3.0, it is 'yakumo-esbuild-yaml' as a standalone package.","severity":"breaking","affected_versions":"<0.3.0"}],"env_vars":null,"search_vec":"'0.3.1':18 'add':9 'allow':29 'build':50 'compil':16,84 'declar':77 'design':46 'ecosystem':73 'esbuild':3,15,26,41,83 'extens':81 'file':11,32 'follow':71 'generic':37 'import':30 'integr':21 'interfac':67 'javascript':34,78 'loader':39 'object':35 'one':43 'period':70 'pipelin':56 'plugin':7,20,27,55,80 'provid':62 'releas':68 'respect':53 'ship':75 'specif':45,66 'support':12 'system':51 'thin':60 'typescript':76,85 'unlik':36 'updat':74 'version':17 'wrapper':61 'yakumo':2,6,23,49,65,72,79 'yakumo-esbuild-yaml':1 'yakumo-specif':64 'yaml':4,10,38,82 'yaml/.yml':31","created_at":"2026-05-01T13:51:11.483551+00:00","updated_at":"2026-05-01T13:51:11.483551+00:00","problems":[{"fix":"npm install yakumo-esbuild-yaml","cause":"Package not installed or missing from node_modules","error":"Cannot find module 'yakumo-esbuild-yaml'"},{"fix":"Use yaml() without arguments (as a factory) or check version compatibility.","cause":"Calling the default export incorrectly, e.g., passing arguments when not expected","error":"Plugin must be a function or object with 'apply' method"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://koishi.js.org/","github":"https://github.com/shigma/yakumo","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yakumo-esbuild-yaml","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}