node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »



Usage: jsfix Path [Filter]

Path File or Folder path to fix.
Filter Exclude FileName or FilePath or FolderName or FolderPath.


> jsfix D:/project/test-folder test.js,folder-1


  • Add missing semicolon.
  • Delete unnecessary semicolon.
  • Use '!==/===' to compare with poor relation(0, true, false, '', undefined).
  • Comment out the Console statement.
  • Use the isNaN function to compare with NaN.
  • Add radix parameter for parseInt.
  • Escape something unescaped.
  • Use if statment instead of an expression.