Extender

Extender is a library that helps in making chainable APIs, by creating a function that accepts different values and returns an object decorated with functions based on the type.

Why Is Extender Different? Extender is different than normal chaining because is does more than return this. It decorates your values in a type safe manner.

For example 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 as the developer to focus on your API and not worrying about how to properly build and connect your API.

Key Links

Tags: Aggregator, Connector, JavaScript



/apitools/extender.php