run prettier from javascript code example Example: run prettier npx prettier --write path/to/my/file.html