Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slim
on May 16, 2021
|
parent
|
context
|
favorite
| on:
Ask HN: What are some tools / libraries you built ...
The most useful library I built is "dome()" a javascript function that would return a dom element out of an array. So that dome(["a",{href:"
http://news.ycombinator.com"},["img",{src:"http://news.ycomb...
"}]]) would return a clickable icon for example.
I wrote the function in 2007 and I'm still using it today. It's a handful lines of code.
acarabott
on May 16, 2021
[–]
I think you would like
http://thi.ng/hdom
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I wrote the function in 2007 and I'm still using it today. It's a handful lines of code.