# javascript-string-format-polyfill

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

Latest version **1.0.2** (published 2023-01-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install javascript-string-format-polyfill
pnpm add javascript-string-format-polyfill
yarn add javascript-string-format-polyfill
bun add javascript-string-format-polyfill
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-01-13 |
| First published | 2023-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Leandro S. Gomes |
| Maintainers | leandroluk |
| Keywords | mustache, string, template, templates, ejs, polyfill, format |

## Links

- npm: https://www.npmjs.com/package/javascript-string-format-polyfill
- Repository: https://github.com/leandroluk/javascript-string-format-polyfill
- Homepage: https://github.com/leandroluk/javascript-string-format-polyfill#readme
- Issues: https://github.com/leandroluk/javascript-string-format-polyfill/issues
- npm.io page: https://npm.io/package/javascript-string-format-polyfill

## Dependencies (2)

- [jest](https://npm.io/package/jest.md) 29.3.1
- [mustache](https://npm.io/package/mustache.md) 4.2.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2023-01-13
- 1.0.1 — 2023-01-13
- 1.0.0 — 2023-01-13

## README

# javascript-string-format-polyfill

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

# How to use

Import this where you starts application: 

```ts
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:

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

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

---
_Source: https://npm.io/package/javascript-string-format-polyfill · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
