a library that creates a classical-like oop interface directly into javascript
Fluent classes for node.js and the browser.
This package provides a utility function for carefully merging one object into another.
Boilerplate free class-based action creator. Following flux-standard-action spec. Built with TypeScript.
Array#isArray for older browsers
JSON parse & stringify that supports binary via bops & base64
Get the command from a shebang
Run a function exactly one time
CLI arguments parser. Native port of python's argparse.
Type-safe, isomorphic event emitters
Callback wrapping utility
Resolve the path of a module like `require.resolve()` but from a given path
ECMAScript AST recursive visitor
Allows users to use generators in order to write common functions that can be both sync or async.
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
Returns true if a string has an extglob.
The Node.js `util.deprecate()` function with browser support
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies
Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST
A small polyfill for Object.setprototypeof
process.nextTick but always with args
Buffers events from a stream until you are ready to handle them.
Use builder classes to build up data which JS can use.
Simple jQuery UI based lightbox
This gem is intended to accomplish the same purpose as jStat js library: to provide ruby with statistical capabilities without the need of a statistical programming language like R or Octave. Some functions and capabilities are an implementation from other authors and are referenced properly in the class/method.
DeadweightRails scans your Rails project for dead assets and unused Ruby code.
Includes a JS file so that you can have an image tag with empty source, but class corgi with width and height for a place holder corgi image.
A full-stack, full-stack MVC framework generator geared towards generating towards the Ext JS framework. The actual javascript framework implementation is provided by the Gem extjs-mvc. This gem contains a series of builders and erb-templates for auto-generating javascript model, view and controller class-files.
CssCleaner parses ERB, HAML, CoffeeScript, JS, CSS, and SCSS files to detect unused CSS classes, helping to optimize and clean your stylesheets.
Since rails 7 uses HotWire, it became a bit hard to implement ajax submissions on form; This gem implements a vanilla js solution for it(just call it at the very end of your erb file and add the class ajaxForm to your form_with)
rails-css_unused scans your stylesheets (CSS/SCSS/Sass) and all view templates (ERB, HAML, Slim), ViewComponents, Phlex components, and Stimulus JS controllers to report CSS class selectors that are defined but never referenced. Supports BEM naming, dynamic class detection, source-file attribution, CI exit codes, and configurable ignore lists — zero runtime overhead.
Floating theme picker for Tailwind-based Rails apps. Ships a Stimulus controller, Slim partial, helpers, and a themes stylesheet. Persists choice in two cookies (theme, mode) so the server can paint the right classes on <html> before any JS runs — no flash of unstyled content on returning visits.
Diff and patch tables
Brings the stimulus_grid data-grid into Rails as a first-class engine. Provides ApplicationGrid for declaring columns server-side; cell-grained Turbo Stream actions (cell, cell-confirm, cell-revert, row-insert-sorted, row-remove, bulk); a single PATCH endpoint for cell mutations with optimistic-id reconciliation; and importmap-pinnable JS for both the grid and the live-sync layer.