{"_id":"@andrewfeasel/jdom","_rev":"3-69c3ba691a5d0ccdab7134f837a3adeb","name":"@andrewfeasel/jdom","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@andrewfeasel/jdom","version":"1.0.0","keywords":["dom","query","utilities"],"author":{"name":"Andrew Feasel"},"license":"MIT","_id":"@andrewfeasel/jdom@1.0.0","maintainers":[{"name":"andrewfeasel","email":"andrewmail404@gmail.com"}],"dist":{"shasum":"833d64dd708961199fbc484ab77df44358da153a","tarball":"https://registry.npmjs.org/@andrewfeasel/jdom/-/jdom-1.0.0.tgz","fileCount":2,"integrity":"sha512-civpazfX4ImpQqpmI0e/980oi1BSIlLXuVQ8WzR9mKcb3Cmd4WUYZcn5s7WLZ2QtP4QR8JbA/FRWFuuUGpo83w==","signatures":[{"sig":"MEYCIQC4x2QEkMvbqvCitPnxjiLSqQuaeF8cs/nz4fVoBsTv2wIhAIcMOtfZyv2yElVN+wWrFUKjcGcQynXBhtlpekWTxyEp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1160},"main":"jdom.js","type":"module","gitHead":"5dfb681b6cef93784d3833746388d0fd6510230b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"andrewfeasel","email":"andrewmail404@gmail.com"},"_npmVersion":"9.2.0","description":"Lightweight, portable DOM manipulation utilities","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jdom_1.0.0_1763773473401_0.04412846167795759","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@andrewfeasel/jdom","version":"1.0.1","keywords":["dom","query","utilities"],"author":{"name":"Andrew Feasel"},"license":"MIT","_id":"@andrewfeasel/jdom@1.0.1","maintainers":[{"name":"andrewfeasel","email":"andrewmail404@gmail.com"}],"dist":{"shasum":"2e1b8ba4f93b2ad7b3e60202e9e8d053078a9fc0","tarball":"https://registry.npmjs.org/@andrewfeasel/jdom/-/jdom-1.0.1.tgz","fileCount":3,"integrity":"sha512-CdiAIfcWl60IDieT/+VcDvZZl7z/KuYvgxEE9LYXE4lW2MPZhtlm+PP4yyKnkK6rI259EWVmcW7pTPialQoDxQ==","signatures":[{"sig":"MEYCIQDZBiEeUa/wJ5T+HVQKm+GvrOIn1EVhRXthe6tWMdEEswIhAKsUdD95fH/I7pwvB5+6qePPEaz77M+t1gKk6teys923","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2798},"main":"jdom.js","type":"module","gitHead":"f42f995384a0f1abff1adf089d8071cfbb010a31","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"andrewfeasel","email":"andrewmail404@gmail.com"},"_npmVersion":"9.2.0","description":"Lightweight, portable DOM manipulation utilities","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jdom_1.0.1_1763779769776_0.12838933877301661","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@andrewfeasel/jdom","version":"1.0.3","description":"Lightweight, portable DOM manipulation utilities","author":{"name":"Andrew Feasel"},"license":"MIT","keywords":["dom","query","utilities"],"type":"module","main":"jdom.js","exports":{".":"./jdom.js"},"repository":{"type":"git","url":"git+https://github.com/andrewfeasel/jdom.git"},"homepage":"https://github.com/andrewfeasel/jdom#readme","bugs":{"url":"https://github.com/andrewfeasel/jdom/issues"},"scripts":{"test":"node test/test.js"},"gitHead":"a4c2ff018a8266165363e108da5b9b32882d34c1","_id":"@andrewfeasel/jdom@1.0.3","_nodeVersion":"18.20.4","_npmVersion":"9.2.0","dist":{"integrity":"sha512-2/0pgJXwyZQtFioLuQxZptdaT/pMAwBC+Ys2KyaSuXx8/ArbFDrdeRaGOvUrCIN3zPtWo/ezKBi8h2kNKX0CoA==","shasum":"6d5301152f8e767d97bbd141621671dd42a3cd5a","tarball":"https://registry.npmjs.org/@andrewfeasel/jdom/-/jdom-1.0.3.tgz","fileCount":3,"unpackedSize":3097,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFkUN3GsTk4iBuX/e64DXReVdggYf67dRG9SKDNNUJSMAiAeY7YERyUJW7V9mseGmFvg3RSdZcOTqKaDWW3qQP3ZlA=="}]},"_npmUser":{"name":"andrewfeasel","email":"andrewmail404@gmail.com"},"directories":{},"maintainers":[{"name":"andrewfeasel","email":"andrewmail404@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jdom_1.0.3_1763854505384_0.9635485629458895"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-22T01:04:33.339Z","modified":"2025-11-22T23:35:05.723Z","1.0.0":"2025-11-22T01:04:33.589Z","1.0.1":"2025-11-22T02:49:29.952Z","1.0.3":"2025-11-22T23:35:05.550Z"},"author":{"name":"Andrew Feasel"},"license":"MIT","keywords":["dom","query","utilities"],"description":"Lightweight, portable DOM manipulation utilities","maintainers":[{"name":"andrewfeasel","email":"andrewmail404@gmail.com"}],"readme":"## INTRO \njDOM is a nice little library that makes DOM manipulation easier,\nit works in the browser, and it is compatible with the \"jsdom\" package on NPM.\n\n## INSTALLATION\nRun this command to install jDOM:\n\n\tnpm install @andrewfeasel/jdom\n\n## IMPORTING\njDOM uses ES Module syntax, so put type=\"module\" in package.json,\nor in your script tag. Imports look like this:\n\n\timport $J from \"./jDOM.js\";\n\n## USAGE\n\t$J.setWindow(window: Window): void\nSets jDOM's internal window to a given Window object.\nOnly useful in Node.js and when using \"jsdom\", useless for the browser.\nsetWindow() must be called before any other methods are called in Node.\n\n\t$J.parse(data: string, mimeType: string): Document\nParses the serialized data, and returns a Document.\nValid types are \"text/html\" and \"text/xml\".\n\n\t$J.create(htmlText: string): HTMLElement\nCreates an HTML element from the text.\n\n\t$J.ready(eventCallback: function): void\nExecutes the callback when the \"DOMContentLoaded\" event fires.\n\n\t$J.id(elementId: string): Element | null\njDOM shorthand for document.getElementByid()\n\n\t$J.one(selector: string, base?: Element): Element | null\nIdentical to document.querySelector, but you can optionally specify which object\nyou call querySelector on: defaults to document.\n\n\t$J.all(selector: string, base?: Element): Array<Element> | null\ndocument.querySelectorAll(), but with an optional base, and returns an Array of elements.\n\n## CONTRIBUTING\n\nMake a pull request, and I will happily review it. I am always open for pull requests,\nbecause I value your ideas and contributions, and I value the open-source community.\n\n## LICENSE\n\nMIT license applies here.\n","readmeFilename":"README.md","homepage":"https://github.com/andrewfeasel/jdom#readme","repository":{"type":"git","url":"git+https://github.com/andrewfeasel/jdom.git"},"bugs":{"url":"https://github.com/andrewfeasel/jdom/issues"}}