eyeos-bind

small object to bind functions

Usage no npm install needed!

<script type="module">
  import eyeosBind from 'https://cdn.skypack.dev/eyeos-bind';
</script>

README

Eyeos-bind

Overview

Small object with a method called bind that returns an anonymous function which executes the given method in the given context.

Useful to easily use mock.

How to use it

Quick help

    $ npm install
  • Check tests
    $ ./tests.sh