An open API service indexing awesome lists of open source software.

https://github.com/yuchi/metameric.js

A funny chainable-isation utility
https://github.com/yuchi/metameric.js

Last synced: 19 days ago
JSON representation

A funny chainable-isation utility

Awesome Lists containing this project

README

          

Metameric.js
============

MM(obj)(method,arg)(method,arg,arg)._(withresult).v

This project is a funny library (just a few lines of code) to build
chainable ...things?

It's *metameric*, every *metamer* is an execution or an access to a part
of the wrapped object.

With `.v` you can access the result of a execution/access.

With `._` you wrap `.v` for further access.

Funny, isn't id?

```javascript
MM(document)('getElementById','my-awesome-div')._('innerHTML','Hallo');
```