Nokogiri is an open source software library to parse HTML and XML in Ruby.[3][4][5][6] It depends on libxml2 and libxslt to provide its functionality.[7]
Original author(s) | Aaron Patterson, Mike Dalessio |
---|---|
Developer(s) | Aaron Patterson, Mike Dalessio, Yoko Harada, Timothy Elliott, John Shahid, Akinori MUSHA |
Initial release | October 30, 2008 |
Stable release | 1.15.5
/ November 17, 2023[1] |
Preview release | 1.16.0.rc1
/ December 13, 2023[1] |
Repository |
|
Operating system | Linux, FreeBSD, OpenBSD, Windows, macOS |
Platform | Cross-platform |
Available in | Ruby, Java |
Type | Parser |
License | MIT License[2] |
Website | www |
It markets itself as providing a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is available for ruby as well as java through Jruby. It provides fast and standards-compliant parser by relying on native parsers like libxml2 (CRuby) and xerces (JRuby).
It is one of the most downloaded Ruby gems, having been downloaded over 700 million times from the rubygems.org repository.[8]
Enterprise support is available through tidelift,[9] a paid subscription model, offering commercial support for open source applications.