23 Repositories
JavaScript observer-pattern Libraries
These are examples of design patterns for FE projects.
Design Pattern For FE These are examples of design patterns for FE projects. Design Pattern Useds Topic Reference Adaper Tutorialspoint Factory Tutori
In this exercise, I will write a few practical tests for JavaScript functions using the Jest library. I will make sure to follow the AAA pattern to make my tests easier for other developers to read and understand. I will also try to use the TDD approach in practice.
Testing Practices To get a local copy up and running follow these simple example steps. (NPM) Ope your terminal Navigate to the directory where you wa
A utility package to help implement stateless CSRF protection using the Double Submit Cookie Pattern in express.
Double CSRF A utility package to help implement stateless CSRF protection using the Double Submit Cookie Pattern in express. Dos and Don'ts • Getting
Finally, a simple, lightweight (0.6kb), pure JavaScript image lazy loader that even works in IE* using the IntersectionObserver API
Simply Lazy A simple & lightweight (0.6kb), pure JavaScript image lazy loader that even works in IE* utilizing the built in IntersectionObserver API i
Transactional Inbox/Outbox pattern for Durable Objects
do-transactional-outbox One of the challenges that many event-driven systems face is the fact that they have to write to the database and send out an
A probabilistic programming language based on pattern-rewriting
MJr-compiler MJr is a probabilistic programming language based on pattern-rewriting, heavily inspired by MarkovJunior by Maxim Gumin. This project pro
A JavaScript / WebAssembly library for generating regular expressions from user-provided test cases
1. What does this library do? grex is a library that is meant to simplify the often complicated and tedious task of creating regular expressions. It d
A fullscreen scroll-based slideshow with a content view powered by GreenSock's Observer plugin.
Fullscreen Scrolling Slideshow A fullscreen scroll-based slideshow with a content view powered by GreenSock's Observer plugin. Article on Codrops Demo
Minimalist Virtual DOM library with JSX and factory pattern for stateful components.
Reflex Reflex JS is a tiny virtual-dom library with factory based functional components. See this example running See more complex demos Table of cont
An algorithm for fast 2D pattern-matching with wildcards.
pattern-match-2d.js An algorithm for fast 2D pattern-matching with wildcards, with a demo app inspired by MarkovJunior (by Maxim Gumin). The algorithm
Connect your Ethereum smart contract to any real world API using the oracle pattern!
Minimal Viable Oracle (MVO) - An effective way to Build your own oracle with Solidity Smart contracts cannot access off-chain data directly. This repo
A library for validate a string using regular expressions.
Fogex Form Regex Quickly and easily check if the content is valid. Installation npm install fogex or yarn add fogex Usage import fogex from 'fogex';
Rename image after pasting, support name pattern and auto renaming.
Obsidian paste image rename This plugin is inspired by Zettlr, Zettlr shows a prompt that allows the user to rename the image, this is a great help if
About Folder pattern for express rest api starterkit clean architecture, easy to scalable and easy to maintenance.
Express Rest Api Clean Architecture The following is a folder pattern for express rest api starterkit structure pattern that I usually use, so if you
Ethereum smart contract gas cost waste pattern detection and patching tool
Ethereum smart contract gas cost waste pattern detection and patching tool
A simple Fast CLI that create Express+Mongoose MVC pattern
express-schema-generator Site | Docs | Contributing | Code of Conduct | Twitter | Chat Bored Writing and Creating the Same Express MVC Folders Again a
Implementação do Observer Pattern em TypeScript para o Código Fonte TV
Observer - Design Pattern Exemplos de implementação do Design Pattern Observer, descrito no livro Design Patterns: Elements of Reusable Object-Oriente
Cypress commands are asynchronous. It's a common pattern to use a then callback to get the value of a cypress command
cypress-thenify Rationale Cypress commands are asynchronous. It's a common pattern to use a then callback to get the value of a cypress command. Howev
Glob - Github action to match glob patterns and retrieve the relative file paths.
Glob - Github action to match glob patterns and retrieve the relative file paths.
Bookmate - Watch changes in Chrome bookmarks, and use bookmarks as an append-only key-value store via an fs-like API.
📗 Bookmate An append-only key-value store built on Chrome bookmarks, plus an asychronous stream of Bookmark changes. For NodeJS Actual production exa
pattern matching in javascript & typescript made easy
🔥 matchbook pattern matching in typescript & javascript made easy matchbook is a lightweight & easy to use pattern matching library, for TypeScript a
Zeronode - minimal building block for NodeJS microservices
Zeronode - minimal building block for NodeJS microservices Why Zeronode? Installation Basics Benchmark API Examples Basic Examples Basic Examples [Adv
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
url-pattern easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings. This is a great little