side-effector
v0.1.1
Published
An Effect monad implementation from James Sinclair's blog post.
Downloads
2
Maintainers
Readme
SideEffector
An Effect monad library. Allows you to defer dealing with impurities until you actually run them.
Quickstart
Importing the library
Import via require
const SideEffector = require('side-effector')
Import as ES module
import SideEffector from 'side-effector'
Import in the browser
<script src="https://cdn.jsdelivr.net/npm/[email protected]/side-effector.min.js"></script>
Notes
Derived from James Sinclair's post, How to Deal with Dirty Side-Effects in Your Pure Functional JavaScript.
License
MIT