All Projects → mikaelbr → Awesome Es2015 Proxy

mikaelbr / Awesome Es2015 Proxy

For learning how to use JavaScript Proxy, or just to see what is possible

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Awesome Es2015 Proxy

Takenote
TakeNote is a note-taking app for the web. You can use the demo app at takenote.dev. It is a static site without a database and does not sync your notes to the cloud. The notes are persisted temporarily in local storage, but you can download all notes in markdown format as a zip.
Stars: ✭ 5,180 (+931.87%)
Mutual labels:  hacktoberfest
Carbonate
Utilities for managing graphite clusters
Stars: ✭ 498 (-0.8%)
Mutual labels:  hacktoberfest
Lapin
AMQP client library in Rust, with a clean, futures based API
Stars: ✭ 497 (-1%)
Mutual labels:  hacktoberfest
Rest.js
GitHub REST API client for JavaScript
Stars: ✭ 156 (-68.92%)
Mutual labels:  hacktoberfest
Po Angular
Biblioteca de componentes Angular.
Stars: ✭ 497 (-1%)
Mutual labels:  hacktoberfest
Pangeo
Pangeo website + discussion of general issues related to the project.
Stars: ✭ 500 (-0.4%)
Mutual labels:  hacktoberfest
Hacktoberfest 2020
Make this Hacktoberfest a learning period and contribute to Great Open Source Projects.
Stars: ✭ 492 (-1.99%)
Mutual labels:  hacktoberfest
Sqlfluff
A SQL linter and auto-formatter for Humans
Stars: ✭ 497 (-1%)
Mutual labels:  hacktoberfest
Gameserver
League Sandbox's Game Server
Stars: ✭ 497 (-1%)
Mutual labels:  hacktoberfest
Imgui Go
Go wrapper library for "Dear ImGui" (https://github.com/ocornut/imgui)
Stars: ✭ 499 (-0.6%)
Mutual labels:  hacktoberfest
Flutter Pi
A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.
Stars: ✭ 492 (-1.99%)
Mutual labels:  hacktoberfest
Awesome Plotters
A curated list of code and resources for computer-controlled drawing machines and other visual art robots.
Stars: ✭ 495 (-1.39%)
Mutual labels:  hacktoberfest
Ultra Runner
🏃⛰ Ultra fast monorepo script runner and build tool
Stars: ✭ 496 (-1.2%)
Mutual labels:  hacktoberfest
Xonsh
🐚 Python-powered, cross-platform, Unix-gazing shell
Stars: ✭ 5,327 (+961.16%)
Mutual labels:  hacktoberfest
Asciidoctor.js
A JavaScript port of Asciidoctor, a modern implementation of AsciiDoc
Stars: ✭ 500 (-0.4%)
Mutual labels:  hacktoberfest
Silverstripe Cms
SilverStripe CMS - this is a module for SilverStripe Framework rather than a standalone app. Use https://github.com/silverstripe/silverstripe-installer/ to set this up.
Stars: ✭ 492 (-1.99%)
Mutual labels:  hacktoberfest
Pdm
A modern Python package manager with PEP 582 support.
Stars: ✭ 492 (-1.99%)
Mutual labels:  hacktoberfest
Alembic
⚗️ A Jekyll boilerplate theme designed to be a starting point for any Jekyll website
Stars: ✭ 501 (-0.2%)
Mutual labels:  hacktoberfest
Node Maxmind
Maxmind GEO Lookup
Stars: ✭ 501 (-0.2%)
Mutual labels:  hacktoberfest
Simd Json
Rust port of simdjson
Stars: ✭ 499 (-0.6%)
Mutual labels:  hacktoberfest

proxy-fun

🐐 For learning how to use JavaScript Proxy, or just to see what is possible through metaprogramming in modern JavaScript. Tries to collect resources such as presentations, articles, modules and examples using Proxy, Reflect and other intercession type metaprogramming.

The Proxy object was included in the ES2015 iteration of the standard and is available in all evergreen browsers and Node.js v6. Unfortunately as it is a big language semantic change, it cannot be polyfilled through transpilers such as Babel.

Know of any brilliant resources? Let us know and we'll create a vast collection of awesomeness.

JavaScript ES2015 Proxy

Proxies are a common pattern in both programming and networking. It often entails something interfacing with something else. Usually a proxy takes the role of the original contstruct and intercepts calls made to that construct and in some cases altering it's original behaviour. This allows you to enrich functions with more actions or operations in a transitive manner, or even intercept and cancel an action.

A proxy can be looked at as a decorator function, but with you can intercept default language semantics also, in a meta-level of programming instead of at the base-level.

TL;DR? See an overview of examples using JavaScript Proxy in the summary.

Proxy Resources

Presentations

Videos

Articles

Modules

  • slice: Slice implements Python's extended slice syntax and negative indexing in JavaScript using proxies.
  • zer: Zer helps you serialize any JavaScript chains to String representations of any languages by leveraging ES2015 Proxy objects
  • negative-array: Negative array index support array[-1] using ES2015 Proxy
  • tpyo: A small script that enables you to make typos in JavaScript property names. Powered by ES6 proxies + Levenshtein string distance.
  • stevia: Experimental module providing natural sweetening for javascript objects
  • known: Allow only access to known object properties using ES2015 Proxy
  • iSeries: A set of modules that use Proxy to extend and enhance your existing JavaScript classes.
  • proxy-observe: A Proxy based implementation of Object.observe
  • Experimental Safe JavaScript Navigation : The purpose of this function is to provide a way to avoid deep nested conditionals when traversing a hierarchy of objects
  • allora: Promisify everything in less tha ~50 lines It can be used to use promises on any javascript object.
  • stroxy: A simple streaming wrapper for native event functions (e.g. addEventListener) using ES2015 proxies.
  • Declaraoids: Declarative programming on steroids.
  • python-range: A JavaScript implementation of the Python's range() function.
  • rebridge: Transparent Javascript-Redis bridge.
  • box-js: A tool for studying JavaScript malware.
  • v: Secure, Synchronized, Realtime, Cloud, Native JavaScript Variables & Events.
  • Promiser: Promise combination resolver by get accessor pattern.
  • React Easy State: A transparent state management library for React.
  • The Observer Utility: A general purpose transparent reactivity library (React Easy State is just a thin wrapper of it). It uses ES6 Proxies to achieve a 100% language coverage for reactivity.
  • The Compiler Utility: A 'sandboxed' code evaluation library. It uses ES6 Proxies (has traps) in conjuction with the with keyword to 'sandbox' code.
  • Did I do that?: A debug tool based on JavaScript Proxy to track surprising/unwanted mutation of objects.
  • mewt: Array and object immutability implemented in under one kilobyte using Proxies.
  • objecthistory: Object undo, redo & change history using Proxies.
  • hoopy: Circular array type
  • emmis: Chaining API where you reduce over payload and operators, like redux
  • rus_roulette: Bringing runtime errors back to fashion
  • Echo: Write a line of code that starts with Echo, and Echo will print it back to the console.
  • Comlink: Uses proxies to hide the fact that you're using Web Workers.

Meta-programming in general

Resources not using JavaScript Proxy, but shows different usages of creative and awesome meta-programming to be used as inspiration.

Articles

Modules

  • jsPipe: Implementing pipes in Javascript using pseudo operator overloading.
  • JSDecorators: Python like decorators in Javascript with pseudo operator overloading.

Examples in this repo

Run all examples in this repo by using [email protected]:

$ node ./examples/<example-file>.js

Examples using tracing and tests can be run using npm:

$ npm test

Remember to install all example dependencies by doing npm i

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].