adobe-illustrator List layers in a document Returns all layers in the specified document, including nested sublayers, with their properties and ordering. GitHub