python-str-format
a python string format function
to install:
npm i @tcsss/python-str-format
how to use:
const format = require('format');
format('{} is Tom's birthday!', '4th May');
// => '4th May is Tom's birthday!'
format('{:*=9}', 'a');
// => '****a****'