apg has been split into two repositories, apg and this developer’s API. This API accomplishes two goals. a) it provides much more flexible access to the underlying generation operations and b) it removes all I/O from the API. The node.js “fs” module is incompatible with some development frameworks.
See the apg README file for details of what APG is and its features.