Filter by tag:
React
OSHA 30 Preparation HelperDeployed at
The purpose of this project is to assist with preparations for the OSHA 30 certification. Instead of giving the right answer, it offers choices and lets the user to try to answer correctly. Almost 1,500 questions and answers can be searched by keywords or full sentences. Some questions and answers contain alternative readings. A random question that appears initially or after emptying the search field allows for a quick knowledge test. The search routine uses flexsearch under the hood.
React
AoE2 CardDeployed at
A quick search for Age of Empires II units and civilizations. Discover their strengths and weaknesses.
React
PixiJS
Parcheesi: The Board GameDeployed at
Parcheesi indie game for family and friends to play together on a single device. The game elements are oriented towards each edge of the device.
Cloudflare Workers
QR Code Compression Worker
Cloudflare worker, that converts a requested text into QR Code data array, with API for packing 3x3 modules as 9-bit numbers for low-end devices that expect a packing to reduce their CPU usage:
1 +-----+-----+-----+-----+ +-----+-----+-----+-----+ 2 |0 0 0|1 1 0|1 0 1|0 0 1| | | | | | 3 |1 1 0|1 0 1|1 0 1|0 1 1| | 24 | 235 | 365 | 308 | 4 |0 0 0|1 1 0|1 0 1|0 0 1| | | | | | 5 +-----+-----+-----+-----+ -> +-----+-----+-----+-----+ 6 |0 0 0|1 0 0|1 1 1|0 0 1| | | | | | 7 |0 0 0|1 0 1|1 1 1|0 0 1| | 0 | 233 | 511 | 292 | 8 |0 0 0|1 1 0|1 1 1|0 0 1| | | | | | 9 +-----+-----+-----+-----+ +-----+-----+-----+-----+
Bits being layed out this way:
1 +------------+ 2 |1 2 4 | 1<<0 1<<1 1<<2 3 |8 16 32 | 1<<3 1<<4 1<<5 4 |64 128 256 | 1<<6 1<<7 1<<8 5 +------------+
JavaScriptnpm
Termi-linkPublished to
This library provides clickable terminal links for terminals that support them. It is designed to seamlessly replace popular terminal-link.

Reason

https://github.com/sindresorhus/terminal-link/issues/18 - terminal-link unfortunately adds a %E2%80%8B (Zero Width Space (ZWSP) character in Unicode, code point U+200B) to the start and end of the link in unsupported terminals, which makes links lead to 404 at least on Windows.
JavaScriptnpm
Precise ColorsPublished to
This library converts colors between various models without performing any rounding.
The idea is that if a non-trivial conversion is needed, you would perform a sequence of conversions and apply rounding only at the very end, minimizing mathematical errors along the way.
ts
1import { 2 hsl2hsv, 3 hsv2rgb, 4 Rgb, 5 rgb2hsl, 6} from "precise-colors"; 7 8const rgb: Rgb = { r: 100, g: 150, b: 255 }; 9const hsl = rgb2hsl(rgb); 10const hsv = hsl2hsv(hsl); 11const back = hsv2rgb(hsv);
Dictionary ExplorerEnglish dictionary explorer. Parses and validates WordNet XML dictionary using Zod and prepares data for the work-in-progress web application.

Zod Test Coverage

1📂 LexicalResource [-] (basic test for a parent) 2 📂 Lexicon [-] (basic test for a parent) 3 📂 LexicalEntry [x] 4 📄 Form [x] 5 📂 Lemma [x] 6 📄 Pronunciation [x] 7 📂 Sense [x] 8 📄 SenseRelation [x] 9 📂 Synset [x] 10 📄 Definition [x] 11 📄 Example [x] 12 📄 ILIDefinition [x] 13 📄 SynsetRelation [x] 14 📄 SyntacticBehaviour [x]
av
Anton VeretennikovPersonal Landing Page