Add description of what everything does to readme.

This commit is contained in:
Talia 2021-08-16 19:40:03 +02:00
parent 75099da695
commit 7b29582c8c
No known key found for this signature in database
GPG key ID: AD727AD22802D0D6

View file

@ -3,3 +3,33 @@ DarkWiiPlayer/JS
A collection of general-purpose Javascript snippets/modules that I end up A collection of general-purpose Javascript snippets/modules that I end up
copy-pasting around more often than necessary. copy-pasting around more often than necessary.
---
So what does it all do?
## Better
an "improved" version of the builtin HTMLElement that's hopefully a lot easier
to build actual things with. It's really just another utility layer.
## CSS
Generate CSS from JS objects. Yes, you can generate CSS from JSON now. Or from
YAML. Or from whatever you want, really.
## Listener
A proxy object that fires a callback when certain (or all) properties are
changed.
## Skooma
Generate HTML and SVG DOM nodes more easily and do stuff with them. Feels like
an in-between of using a templating language and writing lisp code. Overall very
recommendable.
## Template
Turns template literals directly into HTML templates. Just read the code, it's
like 5 lines or so.