Skip to content

pb03/opium-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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