How to use the mojiscript.range function in mojiscript

To help you get started, we’ve selected a few mojiscript examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github joelnet / the-terminal-daemon / src / lib / progressbar.js View on Github external
const animateProgressBar = ({ steps = 1, size = 10 }) =>
  map(i => progressBar({ size, percent: i / (steps - 1) }))(range(0)(steps))

mojiscript

MojiScript is an Async First, opinionated, and functional language designed to have 100% compatibility with JavaScript engines.

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis