Content-Length: 286147 | pFad | http://github.com/Weedshaker/ProxifyJS/tree/92d1f7d22ea7dd0ab8ea3b66b3b460b047f83c8f

C1 GitHub - Weedshaker/ProxifyJS at 92d1f7d22ea7dd0ab8ea3b66b3b460b047f83c8f
Skip to content

A pure ES6 api:any - handler library backed by ECMAScript Harmony Proxy. Proxifies any object and goes far beyond...

License

Notifications You must be signed in to change notification settings

Weedshaker/ProxifyJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxify

Proxify

A pure ES6 api:any - handler library backed by ECMAScript Harmony Proxy. Proxifies any object and goes far beyond...

...Everything is getting more and more complex around web application development but don't worry, not this one. No bundler nor any dependencies, except of ES6 native Proxy!

Usage

import { ProxifyHook } from './JavaScript/Classes/Helper/ProxifyHook.js'
import { InitBasic } from './JavaScript/Classes/Controller/InitBasic.js'

const __ = new ProxifyHook(InitBasic).get()

__(document.getElementsByTagName('body')[0]).$appendChildren(
    [
        __('h2')
            .$setInnerHTML('Proxify')
            .$css(
            `{
                color: darkgrey;
                font-size: 44px;
                font-style: italic;
                margin: 25px 0 25px;
                text-align: center;
            }`, 'h2'),
        __('p')
            .$setInnerHTML('NOW!')
            .$css(
            `{
                color: darkgrey;
                font-size: 15px;
                margin: 5px 20px;
                text-shadow: 0px 2px 2px rgba(170, 222, 237, 0.5);
            }`, 'p'),
        __('hr')
            .$css(
            `{
                background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
                border: 0;
                height: 1px;
                margin: 10px 0;
            }`, 'hr')
    ]
)

The short snippet above merely gives a glimpse on what Proxify can do.

Easily, deal not only with Web APIs but any API. Here a few tags: Events, Html, Css, Subscribe, LocalStorage, WebWorkers, Method Chaining, Error Handling, Types, Debugging, ∞. All modular, lightweight and simple thanks to the power of Proxies.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Weedshaker/ProxifyJS/tree/92d1f7d22ea7dd0ab8ea3b66b3b460b047f83c8f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy