Simple pub/sub messaging for the web
generate random IDs and avoid collisions
A message bus client in Javascript
lws middleware plugin adding URL rewriting support
LiveReload JS client - auto reload browser on changes
Selective error catching and rewrite rules
URL rewrite middleware for express
A collection of utility libraries used by other Facebook JS projects
TypeScript definitions for hat
A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp
Monkey patches for file system related things.
broccoli plugin to rewrite a source tree from an asset map.
Reactive Extensions for modern JavaScript
Convert form parameters to an object using the same logic as Rack
Rewriter system for transforming HTML+ERB AST nodes and formatted strings
Popsicle plugin to transform URLs before performing requests
Babel plugin for React Native for Web
OpenRewrite JavaScript.
A TypeScript SDK for programmatically configuring Vercel projects
A rewrite-move optimize-query-operation actor
Create and modify PDF files with JavaScript
A rewrite-add optimize-query-operation actor
Add an extension to import specifiers that do not already have one, replace the extensions of those that do, or even rewrite specifiers entirely
A rewrite-copy optimize-query-operation actor
A rack middleware for enforcing rewrite rules. In many cases you can get away with rack-rewrite instead of writing Apache mod_rewrite rules.
Dynamic SEO urls
A rack middleware for enforcing rewrite rules. In many cases you can get away with rack-rewrite instead of writing Apache mod_rewrite rules.
TODO
Rack middleware to rewrite the links on both the request and the response.
This simple middleware sets anything in the X-#{prefix}-Cookie header to Cookie, and in the response will copy anything in Set-Cookie to X-#{prefix}-Set-Cookie. This can be useful to enable session management where an HTML client is accessing your API, which doesn't fully support cookies. We have found this to be the case in some Smart TV web applications, and in mobile apps written using frameworks such as Cordova
A Rack app that provides request/response rewriting proxy capabilities with streaming.
A gem that provides a simple example of rewrites in rack
A tiny helper to sort columns in Rack apps
Reflection is a Rails plugin and standalone Rack middleware library. Give up quirky config syntax and use plain old Ruby for your rewrite and redirection rules.
Rewritten is a lookup-based rewriting engine that rewrites requested URLs on the fly. The URL manipulations depend on translations found in a redis database. If a matching translation is found, the result of a request is either a redirection or a modification of path and request parameters. For URLs without translation entries the request is left unmodified. Rewritten takes larges parts from the Resque codebase (which rocks). The gem is compromised of four parts: 1. A Ruby library for creating, modifying and querying translations 2. A Sinatra app for displaying and managing translations 3. A Rack app for rewriting and redirecting request (Rack::Rewritten::Url) 4. A Rack app for substituting URLs in HTML pages with their current translation (Rack::Rewritten::Html) 5. A Rack app for recording successful request (Rack::Rewritten::Record)
Rack::ContentDispositionHelper is Rack middleware that rewrites the decoded filename* directive in the Content-Disposition response header as the value of the filename directive.