vscanf is a function created to help javascript developer to format the string dynamically likewise we do in c & php with printf & scanf.
Use the package manager [npm] https://www.npmjs.com/ to install.
npm i vscanf
vscanf('gh %s hg %n fjk %s', 't1', 10000, 't3')
%s => String %n => Number
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.