{"library":"sh-syntax","type":"library","category":null,"description":"A WASM shell parser and formatter with bash support, based on mvdan/sh. Version 0.5.8, maintained and released regularly via changesets. Ships TypeScript types, ESM-only, supports Node >=16 and browsers. Unlike alternatives like 'shell-parser' or 'bash-parser', it is WASM-based (fast, ~18ms/iter on M1) and provides both parse and print (format) operations with bash compatibility. Includes a benchmark showing consistent performance.","language":"javascript","status":"active","version":"0.5.8","tags":["javascript","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install sh-syntax","imports":["import { parse } from 'sh-syntax'","import { print } from 'sh-syntax'","import { getProcessor } from 'sh-syntax'"]},{"cmd":"yarn add sh-syntax","imports":[]},{"cmd":"pnpm add sh-syntax","imports":[]}],"homepage":"https://github.com/un-ts/sh-syntax#readme","github":"https://github.com/un-ts/sh-syntax","docs":null,"changelog":null,"pypi":null,"npm":"sh-syntax","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}