New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

side-effector

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

side-effector

An Effect monad implementation from James Sinclair's blog post.

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

SideEffector

An Effect monad library. Allows you to defer dealing with impurities until you actually run them.

forthebadge forthebadge

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/side-effector@0.1.1/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

Keywords

side-effect

FAQs

Package last updated on 18 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts