Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

curry-named

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curry-named - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

package.json
{
"name": "curry-named",
"version": "1.1.0",
"version": "1.1.1",
"description": "Curry for named arguments",

@@ -9,2 +9,6 @@ "main": "index.js",

},
"files": [
"index.js",
"README.md"
],
"repository": {

@@ -11,0 +15,0 @@ "type": "git",

# curry-named
Curry for named arguments
Curry for named arguments.

@@ -18,2 +18,16 @@ ## Usage

### Accepts optional arguments
```js
var curry = require('curry-named')
const foo = curry(
['a', 'c'],
({a, b, c}) =>
a + b + c)
foo({ a: 1 })({ b: 2, c: 3}) // 6
foo({ a: 1 })({ c: 3 }) // 4
```
### Partial application works too

@@ -32,1 +46,5 @@

- [named-curry](https://github.com/rjmk/named-curry)
## License
MIT [http://gunar.mit-license.org]()
.npmignore
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc