https://github.com/callmecavs/hurry.js
An optimized curry function, for enabling full and partial function application.
https://github.com/callmecavs/hurry.js
curry
Last synced: 5 months ago
JSON representation
An optimized curry function, for enabling full and partial function application.
- Host: GitHub
- URL: https://github.com/callmecavs/hurry.js
- Owner: callmecavs
- License: mit
- Created: 2016-01-22T03:15:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-09T01:52:28.000Z (over 8 years ago)
- Last Synced: 2025-05-07T19:09:53.628Z (5 months ago)
- Topics: curry
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hurry.js
[](https://www.npmjs.com/package/hurry.js)
An optimized curry function, for enabling full and partial function application.
## Usage
Hurry was developed with a modern JavaScript workflow in mind. To use it, it's recommended you have a build system in place that can transpile ES6, and bundle modules. For a minimal boilerplate that does so, check out [outset](https://github.com/callmecavs/outset).
Follow these steps to get started:
* [Install](#install)
* [Call](#call)### Install
Using NPM, install Hurry.js, and add it to your package.json dependencies.
```
$ npm install hurry.js --save
```### Call
Import Hurry, then call it, passing it the function to curry.
```es6
// import Hurry
import hurry from 'hurry.js'// create a new curried function
const curried = hurry(function() {
// ...
})
```## License
MIT. © 2016 Michael Cavalea
[](http://forthebadge.com)