{"name":"crelt","version":"1.0.6","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://github.com/marijnh/crelt.git"},"keywords":["dom","creation","crel"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin"},"license":"MIT","bugs":{"url":"https://github.com/marijnh/crelt/issues"},"homepage":"https://github.com/marijnh/crelt#readme","devDependencies":{"rollup":"^2.0.5","rollup-plugin-copy":"^3.4.0"},"gitHead":"25eabb104d50e160cd4e4acd9eed2eacb32b332b","_id":"crelt@1.0.6","_nodeVersion":"19.7.0","_npmVersion":"9.6.5","dist":{"integrity":"sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==","shasum":"7cc898ea74e190fb6ef9dae57f8f81cf7302df72","tarball":"http://registry-npm.ywwl.com/crelt/download/crelt-1.0.6.tgz","fileCount":8,"unpackedSize":5387,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8t7vR/VWzJgK8P8BRUqIOy+mpRXkqNMj5WfML6wBCdAiBdE075T35hAhkuoWpf2LZUx1LYkvfl51t+Lp52gaVrvg=="}],"size":2310,"noattachment":false,"key":"/crelt/-/crelt-1.0.6.tgz"},"_npmUser":{"name":"marijn","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"marijn","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crelt_1.0.6_1684326680978_0.6718846278082429"},"_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":1684326681128,"_cnpm_publish_time":1684326681128,"dist-tags":{"latest":"1.0.7"}}