apart

partial function application

Usage no npm install needed!

<script type="module">
  import apart from 'https://cdn.skypack.dev/apart';
</script>

README

Apart License NPM version Dependency Status Build Status

Partial function application.

Install

npm i apart

How to use?

const apart = require('apart');
const sum = (a, b) => a + b;
const inc = apart(sum, 1);

inc(9);
// returns
10

License

MIT