Loper · Developers

Open .js files on your Mac.

.js .cjs .mjs

Config files and scripts in JavaScript, CommonJS or ES modules.

Loper is a free, minimal editor for macOS that opens JavaScript instantly and colors every part of the file, so you find the value you need at a glance and can fix it right there. No IDE, no project to load, no gray wall of text.

postcss.config.cjs opened in Loper: JavaScript with color-coded JavaScript
Show the file as text
// PostCSS config for the website buildconst isProd = process.env.NODE_ENV === "production"; module.exports = {  plugins: {    "postcss-import": {},    tailwindcss: {},    autoprefixer: {},    ...(isProd ? { cssnano: { preset: "default" } } : {}),  },};

How to open .js files

  1. Download Loper (free, Apple silicon, signed and notarized) and move it to Applications.
  2. Double-click your .js file, drag it onto the Loper window, or right-click it and choose Open With › Loper.
  3. Want every .js file to open in Loper? Choose Loper › Make Loper the Default Editor….