marcello3d / node-tosource

Converts JavaScript objects to source

Home Page:https://github.com/marcello3d/node-tosource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support string templates

kapouer opened this issue · comments

toSource(`test${process.env.HOME}`)

i'm not sure it's possible.

Luckily

toSource(function() {`test${process.env.HOME}`})

already works all right.

Sounds like you figured it out