PHP 8.2.30
Preview: README.md Size: 764 B
/home/byroehnu/.trash/node_modules11/crelt/README.md

# CRELT

Tiny DOM-element creation utility. Exports a single (default) value,
which is a function that you call with:

 - A tag name string or DOM element.

 - Optionally an attribute object mapping names to values. When the
   values are strings, they are added to the element with
   `setAttribute`. When they have another type, they are assigned as
   regular properties (mostly useful for event handlers via `onclick`
   and such). When an attribute's value is null or undefined, it is
   not assigned.

 - Any number of children, which may be null (ignored), strings (added
   as text nodes), DOM nodes (added), or arrays (each element is added
   separately).

The function returns a DOM element.

## License

This software is licensed under an MIT license.

Directory Contents

Dirs: 1 × Files: 6

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2026-02-28 00:26:52
Edit Download
280 B lrw-r--r-- 2026-02-28 00:27:36
Edit Download
951 B lrw-r--r-- 2026-02-28 00:27:04
Edit Download
1.06 KB lrw-r--r-- 2026-02-28 00:26:32
Edit Download
771 B lrw-r--r-- 2026-02-28 00:27:24
Edit Download
764 B lrw-r--r-- 2026-02-28 00:27:32
Edit Download
269 B lrw-r--r-- 2026-02-28 00:27:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).