{"id":27145,"library":"mdt2json-cli","title":"mdt2json-cli","description":"A CLI tool that transpiles Markdown tables into minified JSON arrays. Current stable version is 0.1.0. Created as an early-stage utility, it has a very specific focus and limited scope. No release cadence established. Key differentiators: minimal output, no dependencies, works as a command-line filter. However, it has no tests, no documentation, and is likely unstable.","status":"active","version":"0.1.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install mdt2json-cli","lang":"bash","label":"npm"},{"cmd":"yarn add mdt2json-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add mdt2json-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is ESM-only; CommonJS require will fail.","wrong":"const mdt2json = require('mdt2json-cli')","symbol":"default","correct":"import mdt2json from 'mdt2json-cli'"},{"note":"Named export also available; CommonJS require will fail.","wrong":"const { mdt2json } = require('mdt2json-cli')","symbol":"mdt2json","correct":"import { mdt2json } from 'mdt2json-cli'"},{"note":"transform is a named export; default export is the CLI function itself.","wrong":"import transform from 'mdt2json-cli'","symbol":"transform","correct":"import { transform } from 'mdt2json-cli'"}],"quickstart":{"code":"echo '| a | b |\\n|---|---|\\n| 1 | 2 |' | npx mdt2json-cli","lang":"typescript","description":"Converts a Markdown table row from stdin into a compact JSON array."},"warnings":[{"fix":"Avoid using in production until stable release.","message":"Package version 0.1.0 has zero tests, zero documentation, and is not production-ready.","severity":"gotcha","affected_versions":"=0.1.0"},{"fix":"Use import syntax or dynamic import().","message":"ESM-only: CommonJS require() will throw MODULE_NOT_FOUND.","severity":"breaking","affected_versions":">=0.1.0"},{"fix":"Pipe file contents: cat input.md | npx mdt2json-cli","message":"CLI expects input via stdin; no file argument accepted.","severity":"gotcha","affected_versions":"=0.1.0"},{"fix":"Use jq or other tools to format output if needed.","message":"Output is minified JSON; no pretty-print option.","severity":"gotcha","affected_versions":"=0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Change to import statement or set { \"type\": \"module\" } in package.json.","cause":"Package is ESM-only but project uses CommonJS require().","error":"Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'mdt2json-cli'"},{"fix":"Use import { mdt2json } from 'mdt2json-cli' or import mdt2json from 'mdt2json-cli'.","cause":"Named import used as default import incorrectly.","error":"TypeError: mdt2json is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}