{"name":"crelt","version":"1.0.7","description":"Tiny DOM-element-creation utility","main":"dist/index.cjs","type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"module":"index.js","types":"index.d.ts","scripts":{"prepare":"rollup -c"},"repository":{"type":"git","url":"git+https://code.haverbeke.berlin/marijn/crelt.git"},"keywords":["dom","creation","crel"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin"},"license":"MIT","bugs":{"url":"https://code.haverbeke.berlin/marijn/crelt/issues"},"homepage":"https://code.haverbeke.berlin/marijn/crelt","devDependencies":{"rollup":"^2.0.5","rollup-plugin-copy":"^3.4.0"},"gitHead":"86f0f8a7ebc3a8655aa55c307e5f2d97c72c2d46","_id":"crelt@1.0.7","_nodeVersion":"22.20.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==","shasum":"3b441b2ddfa73161d6a2770aa4cd677f895eaf28","tarball":"http://registry-npm.ywwl.com/crelt/download/crelt-1.0.7.tgz","fileCount":8,"unpackedSize":6020,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCnThqduM82Msmy1ePZnlgFzLUcDlLw4HGRUbufeDwYEwIgfHNg1IUbJ0Z3TB738d9SCciHonimrxjBIZ277lLcRHU="}],"size":2385,"noattachment":false,"key":"/crelt/-/crelt-1.0.7.tgz"},"_npmUser":{"name":"marijn","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"marijn","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crelt_1.0.7_1782556793953_0.05962074480642365"},"_hasShrinkwrap":false,"readme":"# CRELT\n\nTiny DOM-element creation utility. Exports a single (default) value,\nwhich is a function that you call with:\n\n - A tag name string or DOM element.\n\n - Optionally an attribute object mapping names to values. When the\n   values are strings, they are added to the element with\n   `setAttribute`. When they have another type, they are assigned as\n   regular properties (mostly useful for event handlers via `onclick`\n   and such). When an attribute's value is null or undefined, it is\n   not assigned.\n\n - Any number of children, which may be null (ignored), strings (added\n   as text nodes), DOM nodes (added), or arrays (each element is added\n   separately).\n\nThe function returns a DOM element.\n\n## License\n\nThis software is licensed under an MIT license.\n","publish_time":1782556794087,"_cnpm_publish_time":1782556794087,"dist-tags":{"latest":"1.0.7"}}