https://github.com/mtso/rfmt
Format .js files.
https://github.com/mtso/rfmt
cli fmt node
Last synced: 5 months ago
JSON representation
Format .js files.
- Host: GitHub
- URL: https://github.com/mtso/rfmt
- Owner: mtso
- Created: 2017-03-16T19:51:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T21:16:24.000Z (about 9 years ago)
- Last Synced: 2025-10-19T11:30:29.069Z (8 months ago)
- Topics: cli, fmt, node
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rfmt
Formats .js files using [prettier](https://github.com/prettier/prettier). Selects all files in the working directory that do not begin with `.` and end with `.js`.
## Install
```
npm install -g rfmt
```
## Usage
From the command line:
1. Change directory `cd` into the target directory that contains your JavaScript files.
2. Run `fmt`.