NodeJS Code Formatter is a lightweight Node.js package for formatting JSON and JavaScript code. Version 0.0.1 is the initial release with basic formatting capabilities. It offers a simple API for beautifying code, but lacks advanced features or customization options compared to established formatters like Prettier. The package has very low adoption and no release cadence.
npm install node-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic formatting of JSON string using the format function from node-formatter.
Use import syntax or set type: module in package.json.
Import 'format' instead.
Use dynamic import() in CommonJS.
N/A
Add "type": "module" to package.json or use .mjs extension.
Use import or switch to CommonJS with dynamic import: const { format } = await import('node-formatter');No dependency data recorded yet.