Nicer is a JavaScript code formatter designed to make your code more readable, consistent, and aesthetically pleadsing.
- Deno
git clone https://github.com/DaviesOwonibi/nicer-formatter
Example:
deno run -A main.ts my_code.ts
Nicer allows you to customize its formatting behavior through a configuration file. You can create a .nicerrc
file in your project's root directory to define your preferences.
Example Configuration (.nicerrc):
{
"tabSize": 2,
"semicolons": true,
"singleQuotes": false,
"newlineBraces": false
}
Here's how you can contribute:
Open an issue if you believe you've encountered a bug.
Make a pull request to add new features/make quality-of-life improvements/fix bugs.