{"_id":"dom-helper","_rev":"4-0d90b2710f7626ac973db31a960d8473","name":"dom-helper","description":"A super fast DOM helper lib","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"dom-helper","version":"1.0.0","description":"A super fast DOM helper lib","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"github.com/greenify/dom-helper"},"keywords":["dom","helper","insertlater","removeall","removetoinsert"],"author":{"name":"greenify"},"license":"Apache 2","bugs":{"url":"https://github.com/greenify/dom-helper/issues"},"homepage":"https://github.com/greenify/dom-helper","gitHead":"3ebf657d20b84198809f1708ab3551a3277f738b","_id":"dom-helper@1.0.0","_shasum":"38d0d444e6b14dbb60780938fed11a6f27fda369","_from":".","_npmVersion":"2.1.0","_nodeVersion":"0.10.32","_npmUser":{"name":"greenify","email":"greeenify@gmail.com"},"maintainers":[{"name":"greenify","email":"greeenify@gmail.com"}],"dist":{"shasum":"38d0d444e6b14dbb60780938fed11a6f27fda369","tarball":"https://registry.npmjs.org/dom-helper/-/dom-helper-1.0.0.tgz","integrity":"sha512-q03NHxi8o5VUZPQWfBRTq3+tdvndrW1a6Kh1QF5dhnwF6x1lGEz/MsNsRCOxCTrsjlrzroZlH5OJ4pmK+ZzBvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHup+xbuCs9Dg3EkgglwSqxpcMN00xqdSzvemUnS6T+DAiEA/80+hQ3HKAc3Im5A1YL3u+XN346aYWSCRDRnMX0WE9o="}]}}},"readme":"dom-helper\n===========\n\nA simple util lib for fast DOM operations.\n\n### removeToInsertLater(element)\n\nRemove an element and provide a function that inserts it into its original position\nRecommended by the [Google JS speed guide](https://developers.google.com/speed/articles/javascript-dom)\n\n@param __element__ {Element} The element to be temporarily removed\n@return __callback__ {Function} A function that inserts the element into its original position\n\n### removeAllChilds(element)\n\n[fastest](http://jsperf.com/innerhtml-vs-removechild/15) possible way to destroy all sub nodes (aka childs)\n\n@param __element__ {DOM Node} The element for which all childs should be removed\n","maintainers":[{"name":"greenify","email":"greeenify@gmail.com"}],"time":{"modified":"2022-06-15T21:12:57.339Z","created":"2014-09-26T22:21:33.591Z","1.0.0":"2014-09-26T22:21:33.591Z"},"homepage":"https://github.com/greenify/dom-helper","keywords":["dom","helper","insertlater","removeall","removetoinsert"],"repository":{"type":"git","url":"github.com/greenify/dom-helper"},"author":{"name":"greenify"},"bugs":{"url":"https://github.com/greenify/dom-helper/issues"},"license":"Apache 2","readmeFilename":"README.md"}