{"library":"wastyle","type":"library","category":null,"description":"WAstyle is a WebAssembly port of the AStyle code formatter, enabling C, C++, and Java formatting in Node.js and browsers. The current stable version is 0.0.5, released with an MIT license. Unlike native AStyle bindings, WAstyle uses WASM for cross-platform portability, but requires manual initialization with the WASM binary due to Webpack limitations. It supports synchronous formatting after initialization and offers an optimized smaller WASM binary. Performance is suitable for typical file sizes, but the initialization step and Webpack configuration can be tricky for new users.","language":"javascript","status":"active","version":"0.0.5","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install wastyle","imports":["import { init } from 'wastyle'","import { format } from 'wastyle'"]},{"cmd":"yarn add wastyle","imports":[]},{"cmd":"pnpm add wastyle","imports":[]}],"homepage":"https://github.com/Menci/wastyle","github":"https://github.com/Menci/wastyle","docs":null,"changelog":null,"pypi":null,"npm":"wastyle","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}