CSS Selectors parser library for Lua implemented in pure Lua

The latest version (1.0.1) has been released at 2018-04-15.

Try tutorial Install

About LuaCS

LuaCS is a Lua library for parsing CSS Selectors. It's written in pure Lua.

LuaCS provides CSS Selectors to XPath converter. You can use the feature by just calling luacs.to_xpaths.

XMLua is well integrated with LuaCS. You can search nodes in HTML/XML DOM with CSS Selectors by 'xmlua.Searchable.css_select`.



LuaCS is released under the MIT license.

See LICENSE file for details such as copyright holders.