An opinionated source code formatter for the OpenSCAD language (v1.0.0). It packages clang-format internally for most platforms, so no separate clang-format installation is needed. Supports configuration via .openscad-format files and offers features like javadoc comment templates. Suitable for developers working with OpenSCAD files.
npm install openscad-formatNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Formats all .scad files recursively in place using the default config.
Upgrade Node.js to version 8 or higher.
Install clang-format separately or use a platform that is supported by the bundled binary.
Reinstall openscad-format globally: npm install -g openscad-format