# string-template-format-base

> Create string template tag that transform values into strings

Latest version **0.1.7** (published 2020-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install string-template-format-base
pnpm add string-template-format-base
yarn add string-template-format-base
bun add string-template-format-base
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.7 |
| Published | 2020-08-26 |
| First published | 2019-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Hoàng Văn Khải |
| Maintainers | khai96_ |
| Keywords | strfmt, printf, format, template, string, tag, create |

## Links

- npm: https://www.npmjs.com/package/string-template-format-base
- Repository: https://github.com/ksxnodeapps/fun-little-utilities
- Homepage: https://ksxnodeapps.github.io/fun-little-utilities/
- Issues: https://github.com/ksxnodeapps/fun-little-utilities/issues
- npm.io page: https://npm.io/package/string-template-format-base

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^2.0.1
- [@types/node](https://npm.io/package/@types/node.md) ^14.6.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

- 0.1.7 (latest) — 2020-08-26
- 0.1.6 — 2020-04-04
- 0.1.5 — 2020-02-27
- 0.1.4 — 2020-01-30
- 0.1.3 — 2020-01-12
- 0.1.1 — 2019-10-05
- 0.1.0 — 2019-10-04

## README

# String Template Format: Base

Create string template tag that transform values into strings

## Usage

```javascript
import tag from 'string-template-format-base'
const myTag = tag(value => `[${typeof value} ${value}]`)
console.log(myTag`${123}; ${'abc'}; ${{ abc: 123 }}; ${[0, 1, 2]}`)
```

_should print:_

```
[number 123]; [string abc]; [object [Object object]]; [array 0,1,2]
```

## License

[MIT](https://git.io/fxKXN) © [Hoàng Văn Khải](https://github.com/KSXGitHub)

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