1.0.1 • Published 2 years ago
dot-cherry v1.0.1
import $ from "dot-cherry";
const eligible = true;
function sayEligible() {
console.log("You are eligible to vote!")
}
function sayIneligible() {
console.log("You are not eligible to vote!")
}
$.switch(eligible, {
true: sayEligible,
false: sayIneligible,
default: sayIneligible
})
Introduction
A modern JavaScript utility library.
Documentation
Visit dot-cherry.com for docs
Contribution
For now contribution are limited. If you are interested in contributing please make sure to email at Email
Licence
MIT