A collection of useful hooks for react
Maintain and search through a sorted array using some low level functions
A skip list implementation inspired by the Sorted Set in Redis.
Utilities for GraphQL documents.
Returns a copy of an object with its keys sorted
Alternative JSON.stringify function with sorted keys, so the output is stable.
Get the union of two sorted streams
ESLint rules for React Hooks
Chai JS Plugin for testing if an array has sorted values (strings, numbers, booleans). Very helpful when writing tests for features that implement Array.prototype.sort()
Sort an Object or package.json based on the well-known package.json keys
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
A sorted list of key-value pairs in a fast, typed in-memory B+ tree with a powerful API.
Next-generation take on pre/post function hooks
List of Git hooks
Simple and complete React hooks testing utilities that encourage good testing practices.
Core Inquirer prompt API
Event Emitting and Middleware Hooks
Abstract class for a lexicographically sorted key-value database
Task and Message Queues with Multiple Providers
Stringify an object sorting scalars before objects, and defaulting to 2-space indent
A lightweight React utility library by inspectph
A collection of 50+ hooks for state and UI management
Command line tool and package to validate GraphQL schemas against a set of rules.
Just a little module for plugins.
Xcodeproj-sort provides a simple script to sort the objects in your .xcodeproj file. The script modifies the file and prints a message only if the file is modified, which makes it good for use in a pre-commit hook.
An implementation of named callback hooks for objects
A subclass of Array::Hooked that also keeps array sorted.
A subclass of Array::Sorted and Array::Unique (and therefore also Array::Hooked).
Event-hooked Array, Sorted Array, Unique Array, Sorted-Unique Array, Downward-Compositing Array, Downward-Compositing Sorted Array, Downward-Compositing Unique Array, Downward-Compositing Sorted-Unique Array.
Create a composite feed of 'recent activity' from multiple models in your rails app. They will be sorted by a datetime column (usually created_at). This removes the need for insert hooks to create 'activity' in an extra table.
Displays a collection (ActiveRelation or Array-like object) wrapped in an html table with server side column sorting, filtering hooks, and search bar. Large collections can be paginated with either the will_paginate gem or kaminari gem if you use them, or a naive Enumerable based paginator (without pager links) if neither is present.
RailsCurdBase provides a ready-to-use CRUD base controller for Ruby on Rails API applications. It offers zero-configuration CRUD operations, powerful query capabilities (pagination, sorting, searching, filtering), unified JSON response format via RailsWarp, and flexible lifecycle hooks. Perfect for building RESTful APIs quickly with Rails 6.0+.
Transaction::Simple provides a generic way to add active transaction support to objects. The transaction methods added by this module will work with most objects, excluding those that cannot be Marshal-ed (bindings, procedure objects, IO instances, or singleton objects). The transactions supported by Transaction::Simple are not associated with any sort of data store. They are "live" transactions occurring in memory on the object itself. This is to allow "test" changes to be made to an object before making the changes permanent. Transaction::Simple can handle an "infinite" number of transaction levels (limited only by memory). If I open two transactions, commit the second, but abort the first, the object will revert to the original version. Transaction::Simple supports "named" transactions, so that multiple levels of transactions can be committed, aborted, or rewound by referring to the appropriate name of the transaction. Names may be any object except nil. Transaction groups are also supported. A transaction group is an object wrapper that manages a group of objects as if they were a single object for the purpose of transaction management. All transactions for this group of objects should be performed against the transaction group object, not against individual objects in the group. Version 1.4.0 of Transaction::Simple adds a new post-rewind hook so that complex graph objects of the type in tests/tc_broken_graph.rb can correct themselves. Version 1.4.0.1 just fixes a simple bug with #transaction method handling during the deprecation warning. Version 1.4.0.2 is a small update for people who use Transaction::Simple in bundler (adding lib/transaction-simple.rb) and other scenarios where having Hoe as a runtime dependency (a bug fixed in Hoe several years ago, but not visible in Transaction::Simple because it has not needed a re-release). All of the files internally have also been marked as UTF-8, ensuring full Ruby 1.9 compatibility.