`level-algorithm` is a JavaScript library for managing level-based calculations, particularly useful for applications involving experience points and level progression.
JWA implementation (supports all JWS algorithms)
Implementation of JSON Web Signatures
css-line-break ==============
An implementation of the Unicode Line Breaking Algorithm (UAX #14)
Intl.LocaleMatcher ponyfill
An implementation of the Unicode Line Breaking Algorithm (UAX #14)
Miscellaneous indices for graphology.
LRU Queue
Module version of UZIP.js
Detect the indentation of code
Simple “Least Recently Used” (LRU) cache
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Sniff the encoding from a HTML byte stream
The fastest and smallest JavaScript polygon triangulation library for your WebGL apps
Latin-script (natural language) parser
The lightest signal library.
Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)
Allow parsing of top-level await in modules
Parse a JSON string that has git merge conflicts, resolving if possible
The fCoSE layout for Cytoscape.js by Bilkent with fast compound node placement
Hashing made simple. Get the hash of a buffer/string/stream/file.
A JS library for finding optimal label position inside a polygon
An implementation of the Unicode Line Breaking Algorithm (UAX #14)
Rightscale::HttpConnection is a robust HTTP/S library. It implements a retry algorithm for low-level network errors. == FEATURES: - provides put/get streaming - does configurable retries on connect and read timeouts, DNS failures, etc. - HTTPS certificate checking
A tic-tac-toe game with human vs. human, human vs. computer, and computer vs. computer options. When 'hard' level is selected, the computer is unbeatable and the AI uses the minimax algorithm.
Implementation of all basic to high level of security algorithms for data encryption and decrytion. For example, RSA, DES, AES etc..
DEVp2p aims to provide a lightweight abstraction layer that provides these low-level algorithms, protocols and services in a transparent framework without predetermining the eventual transmission-use-cases of the protocols.
A ruby implementation of the hierarchical token bucket algorithm. It allows you to define rates on different levels of a hierachie to limit the speed of certain operations.
The Public Suffix List (http://publicsuffix.org/) is "a cross-vendor initiative to provide an accurate list of domain name suffixes". Such a list is necessary because "there was and remains no algorithmic method of finding the highest level at which a domain may be registered for a particular top-level domain (the policies differ with each registry)...". Public Suffix List is also a small Ruby library designed to make the Public Suffix List (http://publicsuffix.org/) easier to use.
RMotion provides a simple interface to build motion detection software in ruby. Many kind of informations about moving entities will be available to applications, and the algorithm is heavily customizable since different cameras record different levels of noise.
Rightscale::HttpConnection is a robust HTTP/S library. It implements a retry algorithm for low-level network errors. == FEATURES: - provides put/get streaming - does configurable retries on connect and read timeouts, DNS failures, etc. - HTTPS certificate checking
This pure Ruby library can read and write PNG images without depending on an external image library, like RMagick. It tries to be memory efficient and reasonably fast. It supports reading and writing all PNG variants that are defined in the specification, with one limitation: only 8-bit color depth is supported. It supports all transparency, interlacing and filtering options the PNG specifications allows. It can also read and write textual metadata from PNG files. Low-level read/write access to PNG chunks is also possible. This library supports simple drawing on the image canvas and simple operations like alpha composition and cropping. Finally, it can import from and export to RMagick for interoperability. Also, have a look at OilyPNG at https://github.com/wvanbergen/oily_png. OilyPNG is a drop in mixin module that implements some of the ChunkyPNG algorithms in C, which provides a massive speed boost to encoding and decoding.
Ruby C extension wrapping the ML-DSA post-quantum digital signature algorithm (NIST FIPS 204, formerly CRYSTALS-Dilithium). Bundles the PQClean clean C implementation for all three parameter sets: ML-DSA-44 (NIST Level 2), ML-DSA-65 (Level 3), and ML-DSA-87 (Level 5). Supports both hedged (randomized) and deterministic signing modes.
A comprehensive gem for learning Data Structures and Algorithms from scratch by visualizing concepts at the core level, comparing Ruby and C++ implementations with step-by-step execution details, detailed notes, practice problems, and progress tracking. Covers 12 sections from fundamentals to advanced topics with 50+ concepts.
This library performs diffs of CSV data, or any table-like source. Unlike a standard diff that compares line by line, and is sensitive to the ordering of records, CSV-Diff identifies common lines by key field(s), and then compares the contents of the fields in each line. Data may be supplied in the form of CSV files, or as an array of arrays. The diff process provides a fine level of control over what to diff, and can optionally ignore certain types of changes (e.g. changes in position). CSV-Diff is particularly well suited to data in parent-child format. Parent- child data does not lend itself well to standard text diffs, as small changes in the organisation of the tree at an upper level can lead to big movements in the position of descendant records. By instead matching records by key, CSV-Diff avoids this issue, while still being able to detect changes in sibling order. This gem implements the core diff algorithm, and handles the loading and diffing of CSV files (or Arrays of Arrays). It also supports converting data in XML format into tabular form, so that it can then be processed like any other CSV or table-like source. It returns a CSVDiff object containing the details of differences in object form. This is useful for projects that need diff capability, but want to handle the reporting or actioning of differences themselves. For a pre-built diff reporting capability, see the csv-diff-report gem, which provides a command-line tool for generating diff reports in HTML, Excel, or text formats.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.