Socket
Book a DemoInstallSign in
Socket

fj-bind

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fj-bind

Bind a context to a function FP-style

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

fj-bind

Build Status npm version

Bind a context to a function FP-style

Installation

npm install fj-bind --save

Usage

var bind = require('fj-bind');

var bindToMe = bind(me); // me is a object

bindToMe(func1);
bindToMe(func2);

API

context -> function

A curried function that expects:

  • context [required] : The context to bind to a function

  • function [required]: The function which is bound to the context

Keywords

fp-dom

FAQs

Package last updated on 18 Apr 2015

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