Add more slice options
Don’t think options like background color, “export group contents only”, and trim transparent pixels are visible in the JS API.

See thread:
https://sketchplugins.com/d/308-set-export-group-contents-only/3