Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
geoffgarside-demolisher
Advanced tools
= demolisher
Works in a similar fashion to Builder but is instead used for extracting information from XML files rather than building them.
== Example
Given the simple XML example file below
Enoch Root 01234 567 8900 enoch@example.com YES Randy Waterhouse 01234 567 8901 randy@example.com NOwe can parse it with
xml = Demolisher.demolish('addressbook.xml') xml.addressbook do xml.person do puts "#{xml.firstname} #{xml.lastname}: #{xml.contact.email}" puts "this person is active" if xml.active? end end
and we should get the result of
Enoch Root: enoch@example.com this person is active Randy Waterhouse: randy@example.com
== Copyright
Copyright (c) 2009 Geoff Garside. See LICENSE for details.
FAQs
Unknown package
We found that geoffgarside-demolisher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.