Skip to content

Instantly share code, notes, and snippets.

View rulyaryu's full-sized avatar

Ruslan rulyaryu

  • Ukraine
View GitHub Profile
@rulyaryu
rulyaryu / validations.js
Created September 25, 2020 20:41
validation example with crocks js
import('https://cdn.jsdelivr.net/npm/@esm-bundle/crocks/esm/index.js')
.then(crocks => {
const {
Result,
liftN,
constant,
identity,
applyTo,
defaultTo,
map,