npm explorer
dom-add - npm explorer
dom-add
v0.0.6
appending markup to the DOM using recursion
document
DOM
appendChild
createChild
0
/week
Updated 3 years ago
ISC
Unpacked: 2.0 KB
Published by
Ayan Dalal
npm
yarn
pnpm
bun
npm install dom-add
Repository
Homepage
npm
Readme
Dependencies
(0)
Versions
(5)
dom-add
Simple function which takes an object as a parameter, uses recursion and converts the object into markup.
Second parameter(optional) is the parent element inside which the generated markup needs to be appended.