Forum How do I...?

How to set the javascript option using node client.

dansantner
I'm using the prince npm module. But can't figure out how to force it to run javascript.

I tried Prince('--javascript')... and Prince(['--javascript'])...

Nothing is working.

Anyone hit this before? Or is there some env variable maybe I can set to make it run javascript?
dansantner
also tried
Prince({‘javascript’: true})

no dice.
mikeday
It looks like it's Prince().option('javascript') or something like that?
dansantner
Ahh. Didn't see that. Well I only needed it for loading a typekit font. Which I found on fonts.com....thank god I can ditch typekit! I'll try this later today and report back if it works.