extender is a library that helps in making APIs chainable. It does this by creating a function that accepts different values and returns an object with functions based on the type.
It is different than normal chaining because is does more than return
this. If you return an array from a string based method then the returned value will be decorated with array methods and not the string methods. This allow you to focus on your API and not worrying about how to properly build and connect your API.