>_Skillful
Contact FirmAdapt
Fabio Spampinato

Fabio Spampinato

@fabiospampinatoAuthor

Trying to write good software.

@facebook London, UK fabiospampinato.com@fabiospampinato On GitHub since June 2012
Published tools
81
Total stars
9,735
Weekly downloads
229,394,047
GitHub followers
1,977
Public repos
429
Avg security
100/100

Published tools

81 skillsacross 2 categories

cash-dom

by fabiospampinato

An absurdly small jQuery alternative for modern browsers.

Skill7K

voby

by fabiospampinato

A high-performance framework with fine-grained observable/signal-based reactivity for building rich applications.

Skill912

tiny-bin

by fabiospampinato

A library for building tiny and beautiful command line apps.

Skill194

atomically

by fabiospampinato

Read and write files atomically and reliably.

Skill182

watcher

by fabiospampinato

The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.

Skill140

banal

by fabiospampinato

On-demand bundle analyzer, powered by esbuild.

Skill133

shosho

by fabiospampinato

A modern and powerful shortcuts management library.

Skill116

lande

by fabiospampinato

A tiny neural network for natural language detection.

Skill89

zeptomatch

by fabiospampinato

An absurdly small glob matcher that packs a punch.

Skill81

fast-ignore

by fabiospampinato

A fast parser and processor for .gitignore files.

Skill61

fast-string-width

by fabiospampinato

A fast function for calculating the visual width of a string once printed to the terminal.

Skill45

khroma

by fabiospampinato

A collection of functions for manipulating CSS colors, inspired by SASS.

Skill412

prask

by fabiospampinato

Lightweight prompting library for terminal apps.

Skill35

jsonc-simple-parser

by fabiospampinato

A simple JSON parser that supports comments and optional trailing commas.

Skill33

tiny-jsonc

by fabiospampinato

An absurdly small JSONC parser.

Skill30

specialist

by fabiospampinato

A library that helps you write tiny, fast and beautiful CLI apps that can automatically check for updates.

Skill28

crypto-puzzle

by fabiospampinato

A time-lock puzzle generator

Skill27

base256-encoding

by fabiospampinato

Base256 encoding, a.k.a. latin1 encoding, the most memory-efficient encoding possible in JavaScript.

Skill26

grammex

by fabiospampinato

A tiny, PEG-like system for building language grammars with regexes.

Skill25

dettle

by fabiospampinato

A tiny fully-featured debounce and throttle implementation.

Skill24

fast-string-truncated-width

by fabiospampinato

A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.

Skill24

tsex

by fabiospampinato

A little CLI for making TypeScript packages, cleanly and effortlessly.

Skill23

pioppo

by fabiospampinato

A tiny isomorphic batched logger. ~3x faster than regular logging in Node.

Skill21

csv-simple-parser

by fabiospampinato

A simple, fast and configurable CSV parser.

Skill20

skex

by fabiospampinato

A modern schema validation and filtration library with great TypeScript support.

Skill19

base128-encoding

by fabiospampinato

Base128 encoding, the intersection of latin1 and utf-8, which is basically ASCII, the most memory-efficient string encoding that can be written to disk as utf-8 without ballooning in size.

Skill17

json-sorted-stringify

by fabiospampinato

Alternative JSON.stringify function with sorted keys, so the output is stable.

Skill17

tiny-encryptor

by fabiospampinato

A tiny opinionated isomorphic library for encrypting and decrypting with ease.

Skill17

tiny-parse-argv

by fabiospampinato

A tiny function for parsing process.argv, a modern rewrite of minimist.

Skill17

tiny-updater

by fabiospampinato

A small update notifier for NPM packages, useful for CLI apps.

Skill17

toygrad

by fabiospampinato

A toy library for building simple neural networks which can be serialized to compact JSON.

Skill16

zeptoid

by fabiospampinato

A tiny isomorphic fast function for generating a cryptographically random hex string.

Skill16

amuchina

by fabiospampinato

A work-in-progress HTML sanitizer that strives for: performance like window.Sanitizer, readiness like DOMPurify, and ability to run in a WebWorker like neither of those.

Skill14

graphmatch

by fabiospampinato

A low-level utility for matching a string against a directed acyclic graph of regexes.

Skill14

zstandard-wasm

by fabiospampinato

A fast and small port of Zstandard to WASM. (Decompress-only for now).

Skill14

noop-tag

by fabiospampinato

A noop template literal tag, useful for syntax highlighting hints.

Skill12

css-simple-parser

by fabiospampinato

A (S)CSS parser that's tiny, blazing fast and (too) simple.

Skill11

fava

by fabiospampinato

A wannabe tiny largely-drop-in replacement for ava that works in the browser too.

Skill11

graphviz-wasm

by fabiospampinato

A port of Graphviz to WASM.

Skill11

ini-simple-parser

by fabiospampinato

A simple, fast and configurable INI parser.

Skill10

tiny-editorconfig

by fabiospampinato

A tiny isomorphic parser and resolver for EditorConfig.

Skill9

function-once

by fabiospampinato

Wraps a function so that it's only ever executed once.

Skill8

mime2ext

by fabiospampinato

Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.

Skill8

minipacco

by fabiospampinato

A little bundler for resolving dependencies graphs into a single concatenated file.

Skill8

ua2os

by fabiospampinato

Detect the OS from a User-Agent string.

Skill8

xml-simple-parser

by fabiospampinato

A simple and tiny XML parser and stringifier.

Skill8

css-flatten

by fabiospampinato

Flattens a nested (S)CSS string, '&' placeholders are supported too.

Skill7

electron-about

by fabiospampinato

Simple standalone about window for Electron.

Skill7

promise-make-counter

by fabiospampinato

A simple function that makes a counter-based promise, which can be incremented and decremented, and it resolves once its counter reaches zero.

Skill7

radix64-encoding

by fabiospampinato

Radix64 encoding, a.k.a. Base64 encoding. An extremely fast and synchronous JS implementation.

Skill7

hex-encoding

by fabiospampinato

Hex encoding. An extremely fast and synchronous JS implementation.

Skill6

dotenv-jsonc

by fabiospampinato

Simple library for loading your .env.json file containing JSONC.

Skill5

ionstore

by fabiospampinato

A very simple isomorphic key-value store with a Map-like API for persisting session data.

Skill5

tiny-colors

by fabiospampinato

A tiny library providing the basic ANSI colors for the terminal.

Skill5

ext2mime

by fabiospampinato

Convert a file extension to a mime type. It works only with popular file extensions and it's super lightweight.

Skill4

inquirer-helpers

by fabiospampinato

Collection of helpers for Inquirer.

Skill4

radix64url-encoding

by fabiospampinato

Radix64url encoding, a.k.a. Base64url encoding. An extremely fast and synchronous JS implementation.

Skill4

uint-rng

by fabiospampinato

A tiny isomorphic Random Number Generator for generating 1/8/16/32/64-bits unsigned integers.

Skill4

uint8-encoding

by fabiospampinato

Uint8 encoding, a simple way to convert strings to Uint8Arrays and vice versa.

Skill4

bigint-encoding

by fabiospampinato

BigInt encoding, a simple way to convert Uint8Arrays into BigInts, and vice versa.

Skill3

crypto-random-bigint

by fabiospampinato

Generate a cryptographically-random BigInt with the given number of bits of entropy.

Skill3

crypto-random-prime

by fabiospampinato

Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.

Skill3

stubborn-utils

by fabiospampinato

A small collection of utilities for making functions somewhat resilient against errors.

Skill3

tiny-cursor

by fabiospampinato

A tiny library for hiding and showing the cursor in the terminal.

Skill3

tiny-truncate

by fabiospampinato

A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.

Skill3

crypto-miller-rabin

by fabiospampinato

Implementation of the Miller-Rabin primality test.

Skill2

crypto-pbkdf2-hmac

by fabiospampinato

Isomorphic wrapper for the PBKDF2-HMAC key derivation function.

Skill2

crypto-random-uint8

by fabiospampinato

Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.

Skill2

crypto-sha

by fabiospampinato

Isomorphic wrapper for the SHA family of hash functions.

Skill2

find-up-json

by fabiospampinato

Find, read and parse the first matching file found walking the filesystem upwards.

Skill2

find-up-path

by fabiospampinato

Find the path of the first file matching a given name, walking the filesystem upwards.

Skill2

promise-make-naked

by fabiospampinato

A simple function that makes a promise that can be resolved, rejected or introspected from the outside.

Skill2

utf16le-encoding

by fabiospampinato

UTF16-le encoding, a.k.a. UCS2 encoding, an encoding you probably should never use.

Skill2

zeptomatch-explode

by fabiospampinato

A little utility for exploding a zeptomatch-flavored glob into its dynamic and static parts.

Skill2

detect-eol

by fabiospampinato

Quickly detect the EOL used in a string.

Skill1

int32-encoding

by fabiospampinato

Int32 encoding, a simple way to convert 32-bit signed integers to Uint8Arrays, and vice versa.

Skill1

lomemo

by fabiospampinato

Lodash's memoize function, but in a much smaller package than lodash.memoize's.

Skill1

node-buffer-encoding

by fabiospampinato

A little wrapper around Node's Buffer that provides encoding/decoding for all supported encodings.

Skill1

promise-concurrency-limiter

by fabiospampinato

Tiny scheduler for functions returning promises that can limit their concurrency.

Skill1

crypto-random-in-range

by fabiospampinato

Pick a cryptographically-random integer within a range.

Skill

svelto

by fabiospampinato

Modular front end framework for modern browsers, with battery included: 100+ widgets and tools.

Skill