javascript-string-format-polyfill
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

javascript-string-format-polyfill

Logic-less polyfill to add {{mustache}} templates to String type

How to use

Import this where you starts application:

require('javascript-string-format-polyfill'); // with javascript
import 'javascript-string-format-polyfill';   // with typescript

// rest of app

When use typescript, you can add this in tsconfig.json file:

{
  "compilerOptions": {
    ...
  },
  "ts-node": {
    "require": ["javascript-string-format-polyfill"]
  }
}

And no need import in app. That's it!

/javascript-string-format-polyfill/

    Package Sidebar

    Install

    npm i javascript-string-format-polyfill

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.03 kB

    Total Files

    4

    Last publish

    Collaborators

    • leandroluk