Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zkochan/bind-ponyfill
Binds a function to a specified context and arguments.
https://github.com/zkochan/bind-ponyfill
Last synced: 10 days ago
JSON representation
Binds a function to a specified context and arguments.
- Host: GitHub
- URL: https://github.com/zkochan/bind-ponyfill
- Owner: zkochan
- License: mit
- Created: 2015-07-28T10:43:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-30T10:53:14.000Z (about 8 years ago)
- Last Synced: 2024-12-03T15:07:46.963Z (20 days ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bind-[ponyfill](https://ponyfill.com)
Binds a function to a specified context and arguments.
[![Dependency Status](https://david-dm.org/zkochan/bind-ponyfill/status.svg?style=flat)](https://david-dm.org/zkochan/bind-ponyfill)
[![Build Status](https://travis-ci.org/zkochan/bind-ponyfill.svg?branch=master)](https://travis-ci.org/zkochan/bind-ponyfill)
[![npm version](https://badge.fury.io/js/bind-ponyfill.svg)](http://badge.fury.io/js/bind-ponyfill)## Installation
```
npm install --save bind-ponyfill
```## Usage
```js
var bind = require('bind-ponyfill');bind(function() {
console.log(this);
}, 'Hello world!');
```## License
MIT