fregante
@fregante
15
Published Tools
0
Total Stars
0
Weekly Downloads
Published Tools
15 Skillsacross 1 categorytext-field-edit
fregante
Insert text in a `<textarea>`, `<input>` and `contenteditable` elements (including Undo support)
@fregante/relaxed-json
fregante
Relaxed JSON is strict superset JSON, relaxing strictness of valilla JSON
intrinsic-scale
fregante
Replicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.
web-ext-submit
fregante
Wrapper around Mozilla’s web-ext to submit extensions to AMO.
webext-tools
fregante
Utility functions for Web Extensions, manifest v2 and v3
webext-events
fregante
High-level events and utilities for events in Web Extensions
chrome-webstore-upload-cli
fregante
CLI tool to upload Chrome Extensions to the Chrome Web Store
webext-storage-cache
fregante
Cache values in your Web Extension and clear them on expiration. Also includes a memoize-like API to cache any function results automatically.
proper-event
fregante
Given an event type, automatically get the correct event class (click -> MouseEvent)
code-tag
fregante
noop functions to help formatters and syntax highlighters recognize embedded code
select-dom
fregante
Extra lightweight DOM selector helper
one-event
fregante
Listen to one event via `addEventListener`, then resolve a Promise
one-mutation
fregante
Observe one mutation via `MutationObserver`, then resolve a Promise.
fit-textarea
fregante
Automatically expand a <textarea> to fit its content, in a few bytes
dom-chef
fregante
Build regular DOM elements using JSX