Skip to content

Instantly share code, notes, and snippets.

@Sam-Gram
Created November 15, 2022 16:47
Show Gist options
  • Save Sam-Gram/c5d055b04e698ff71fcbb7a2c2360f88 to your computer and use it in GitHub Desktop.
Save Sam-Gram/c5d055b04e698ff71fcbb7a2c2360f88 to your computer and use it in GitHub Desktop.
import ora from 'ora'
const spinner = ora({
text:'Emoji',
spinner: {
frames: Array(76).fill(0).map((_,i) => String.fromCodePoint(128516+i)),
interval: 100
}
}).start()
// Async stuff
spinner.stop()
@Sam-Gram
Copy link
Author

Only tested on node 18.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment