Licence
MIT
Version
1.0.0
Deps
15
Size
14 kB
Vulns
0
Weekly
0
@ryniaubenpm2/minima-ea-distinctio
Tiny 5th generation CSS-in-JS library that you can actually use in production.
Motto of @ryniaubenpm2/minima-ea-distinctio is simple: create the smallest possible CSS-in-JS library and provide all features of any other library through addons.
- Only 0.5 Kb in base configuration, e.g.
styled-componentsis 15.1Kb - Library-agnostic — use it standalone, with React, Preact, Vue.js, or any other library
- Isomorphic — render on server and browser, generates stable class names, and re-hydrates
- Performant — simply the fastest library; does not create wrapper components, does not use inline styles or inline
<style>elements, but caches all styles for re-use and injects CSS using.insertRule()for performance @mediaqueries and animation@keyframesare supported- Auto-prefixes your styles
- Extract CSS into external style sheet
- Public domain — Unlicense license
For pre-configured simple-to-use package see
nano-theme, which builds on top of@ryniaubenpm2/minima-ea-distinctio.
Reference
- Installation
- Addons
put()— demo!rule()— demo!drule()— demo!sheet()— demo!dsheet()— demo!jsx()— demo!useStyles()— demo!withStyles()— demo!decorator— demo № 1 and demo № 2component— demo!style()— demo!styled()()— demo!hyperstyle()— demo!stableatoms— demo!emmetnestingkeyframes()hydrate()prefixerstylisunitless!important:globalanimate/*reset/*reset-fontgoogleFont()limitampvirtualspreadarraysnake— demo!tachyonsrtlextractsourcemaps.unitscssomvcssom
- Presets
- Server-side rendering
Keywords
fetchperformantes2016proxyspeedprotocol-buffershttpgdprpreserve-symlinksnopevisuallockfileECMAScript 2022cloudwatchsortfindLastIndexObservablesenvironmentObject.getPrototypeOfrangeerrormatchesESnextUint32ArrayyamljapaneseslotArrayBuffereditordynamodbfast-deep-cloneArrayfunctionsownwatchfluxutilityObjectargvcode pointswhichBigUint64ArraystoragegatewayStreamsxhrparentObject.assigninstalleslintpluginsortedagentpackagespersistentES8stylingrecursiveterminalregular expressionwalkingcolourdeterministicECMAScript 2020resolvetoolkitpackage.jsonfilterES7ECMAScript 2023picomatchcall-boundgetintrinsiczerosequencees2017rgbio-tsparsingefficientawaitwritableObject.entriesReflect.getPrototypeOfestreeArray.prototype.includesdeep-cloneprogress.envStreamlazyentriesloadbalancingWebSocketstypedarraysArray.prototype.filterchaiequales2018isConcatSpreadablenodejsjsdiffimmutablereducethroatvariablesoptimistweaksetescapekarmareactinspectenvbindcloudformationasyncreact-hook-formInt32ArraylinkwordwrapString.prototype.trimlesscloudtrailrestHyBioutputruntimemodulesES3timecolumndiffloggingpathfast-deep-copyglobdependency managervestpropertyECMAScript 2016es-abstracttermpyyamlpropertieswrappromiseES2017iteratehasOwnPropertydeep-copychineseES2019typedarraytestertouchtc39writecolorsvarstddchecktslibObject.valueslook-upglacierfastpnpm9snsless mixinsES2015TypeScriptlibphonenumberspinnersharedemojidescriptorwhatwgqueueobjectbundlingismixinsRFC-6455warningwalkexecutableremovecallboundUint16ArrayurlextensionsetterinstallerchannelES2023symbolmomentapifastifypositiveargumenteventDispatcheromitArray.prototype.flatstartredux-toolkitInt8Arrayuninstallgetoptwatchingpostcssmkdirsparsecmdconnectutil.inspectinputpredictablefastcopy[[Prototype]]kinesisArray.prototype.findLastdeepcopy@@toStringTagIteratorsignalTypedArrayECMAScript 2021objworkflowbusyjsontelephoneincludespipesearchquoteglobalstoArrayprotobufsetwatcherES2022typanionnativecorsswfendpointSetsimpledbtextidentifiersspinnerssqsxdgchromiumhttpslengthbuffer256ReactiveExtensionsECMAScript 2017validtypesMaponcetapetrimLeftrouterstringinferenceconcatMappackage managerES5statusObject.isjQuery