d3node-output
d3node-output copied to clipboard
Provide options to only export png/svg/html instead of always all 3
Has there been any thought into providing options to allow users to determine which output type they want instead of always providing png, svg & html?
I have a use case where I only want the png output.
Happy to make a pull request and do this myself.
Sure. I’d be happy to merge it. :)
On Wed, Jul 18, 2018 at 1:33 PM andrew-leonard [email protected] wrote:
Happy to make a pull request and do this myself.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/d3-node/d3node-output/issues/11#issuecomment-406012819, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ_7ic9zCu9J_Dpuph12ssfmmIsO4Kmks5uH3FYgaJpZM4VU9Im .
Did this ever get done?
no, but I'd prefer we don't change the default behavior, but if we added the options: { skipHtml, skipSvg } that would be a simple change @ https://github.com/d3-node/d3node-output/blob/master/index.js#L49