pb03 / opium-js

MacOS utility app for running JavaScript snippets

Home Page:https://pb03.github.io/opium-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opiumJS

MacOS utility app for running JavaScript snippets

Demo

Commands / Keyboard shortcuts

Command Function
⌘ + R Run snippet
⌘ + K Clear output
⌘ + ⇧ + S Save current snippet
⌘ + ⇧ + R Run snippet and show code coverage

Auto-complete code snippets

Trigger Snippet
fn → function in ES6 syntax
fnc → function with console.log()
cl → console.log()
for → for loop
rfor → reverse for loop
fore → forEach loop
fof → for...of loop
if → if statement
ife → if/else statement
switch → switch case statement
sto → setTimeout function
si → setInterval function

About

MacOS utility app for running JavaScript snippets

https://pb03.github.io/opium-js/


Languages

Language:TypeScript 62.9%Language:HTML 37.1%