This is a work in progress and only partially complete. For examples and an overview, check out Redesigning Illustrator Actions in Scripting
Extended Action classes for the Illustrator Scripting API
There is no simple module/package/library distribution for JSX scripting, so unfortunately this file would need to be manually included in any project or script requiring it:
// At the top of any JSX script
#include "./ActionSuite.js" // Relative path to file