โ† metal

BareMetalJsTools

62 modules. 638 KB total minified. Zero dependencies.

โŒฅ repo

Most people pull in more than 638 KB just for a toast notification library and a date picker. This toolkit gives you reactive UI, REST transport, SPA routing, charts, graph visualisation, binary serialisation, compression, a full CSS framework, bundled fonts, a scripting language, forms, auth, crypto, and 50+ more modules โ€” all as plain <script> tags.

No build step. No compile phase. No node_modules black hole. Save your file, refresh your browser, get on with your life.

Core UI

Styles (CSS)Grid, flex, buttons, forms, cards, modals, nav, footer, sidebar โ€” 42 KB
Styles.BootstrapShimDrop-in Bootstrap 5 class compatibility layer โ€” 24 KB
BindReactive Proxy state + m-* directives โ€” 6.6 KB
ComponentsChat, calendar, Gantt, tree, table views โ€” 13 KB
ComponentFactoriesDynamic component instantiation โ€” 1.5 KB
RenderingVirtual DOM-like render pipeline โ€” 1.9 KB
TemplateHTML template engine โ€” 4.8 KB
FormsValidation, multi-step, conditional fields โ€” 20 KB
DragDropDrag and drop with sortable lists โ€” 6.3 KB
ChartsSVG bar, line, sparkline, donut, gauge โ€” 8.5 KB
GraphForce-directed network visualiser โ€” 9.6 KB
AnimateKeyframe and transition helpers โ€” 3.6 KB
MarkdownMarkdown to HTML renderer โ€” 10.6 KB
NotifyToast notifications and alerts โ€” 10.7 KB

Fonts

BareMetalMonoJetBrains Mono subset โ€” 17 KB woff2
BareMetalSansInter subset โ€” 14 KB woff2
BareMetalPixelSilkscreen subset โ€” 2.7 KB woff2
Wavefunction-SansSource Sans 3 subset โ€” 27 KB woff2
Wavefunction-SerifSource Serif 4 subset โ€” 28 KB woff2
Wavefunction-CurlyDancing Script subset โ€” 28 KB woff2

Data & Transport

CommunicationsREST + WebSocket, CSRF, multiplexing โ€” 8.3 KB
TransportFetch wrapper, retry, interceptors โ€” 11.4 KB
BinaryBSO1 wire format, HMAC-SHA256 โ€” 14 KB
CompressLZ compression, byte-identical to C reference โ€” 8.3 KB
SyncOffline sync, conflict resolution โ€” 11.5 KB
PubSubEvent bus, topic subscriptions โ€” 3.9 KB
ObserveObject observation and change tracking โ€” 7.8 KB
PipelineData transformation pipelines โ€” 9.1 KB
IDBIndexedDB wrapper โ€” 6.9 KB
LocalKVStoreKey-value persistence layer โ€” 6.9 KB
CacheMulti-tier caching (memory, storage, network) โ€” 10.3 KB

Security & Auth

AuthOAuth2, JWT, session management โ€” 16 KB
CryptoHashing, encryption helpers โ€” 2.8 KB
RBACRole-based access control โ€” 8.9 KB
TokensToken lifecycle, refresh, revocation โ€” 9.6 KB
SessionSession management and persistence โ€” 8.5 KB

Navigation & Routing

RoutingHistory-API SPA router โ€” 2.3 KB
URLURL parsing, query string handling โ€” 8.5 KB
ProgressivePWA, service worker registration โ€” 5.7 KB
ServiceWorkerSW lifecycle management โ€” 4.1 KB

Scripting & Logic

PicoScriptEmbedded scripting language โ€” 50 KB
PicoScript.EditorSyntax-highlighted code editor โ€” 30 KB
ExpressionsExpression parser and evaluator โ€” 16.5 KB
StateMachineFinite state machines โ€” 1.4 KB
WorkflowMulti-step workflow engine โ€” 11.5 KB
SchemaJSON Schema validation โ€” 12.6 KB
ValidateInput validation rules โ€” 2.6 KB
TypesRuntime type checking โ€” 17.2 KB

Platform & Device

CapabilitiesFeature detection and polyfill loading โ€” 11.8 KB
GamepadGamepad API wrapper โ€” 7.8 KB
GeoGeolocation and mapping โ€” 6.1 KB
MediaAudio/video capture and playback โ€” 7.8 KB
SpeechSpeech synthesis and recognition โ€” 5.7 KB
ClipboardClipboard read/write โ€” 6.5 KB
FileIOFile reading, drag-to-upload โ€” 8.5 KB
PayPayment Request API โ€” 7.4 KB
A11yAccessibility helpers, ARIA โ€” 4.8 KB
I18nInternationalisation โ€” 2.5 KB

Dev & Diagnostics

DiagnosticsPerformance profiling, memory tracking โ€” 10.6 KB
TestRunnerUnit test framework โ€” 12.8 KB
LoggerStructured logging โ€” 2.5 KB
ErrorsError boundary and reporting โ€” 9.9 KB
ConfigEnvironment config management โ€” 10.5 KB
MetadataModule metadata and versioning โ€” 4.1 KB
TimeDate/time utilities, relative time โ€” 6.9 KB
UndoRedoUndo/redo command stack โ€” 4.5 KB
WorkersWeb Worker management โ€” 8.9 KB
CodesQR, barcode generation โ€” 28.8 KB
62 modules. 638 KB minified. One CDN path or vendor locally. No npm install. No webpack. No framework lock-in.

View on GitHub โ†’