# string-format-ts

> A Typescript formatting library inspired by c# string.format("My {0} string", "Hello World")

Latest version **1.0.4** (published 2020-08-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install string-format-ts
pnpm add string-format-ts
yarn add string-format-ts
bun add string-format-ts
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2020-08-13 |
| First published | 2020-08-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Luca Evaroni |
| Maintainers | lucaevaroni |
| Keywords | string, format, typescript |

## Links

- npm: https://www.npmjs.com/package/string-format-ts
- npm.io page: https://npm.io/package/string-format-ts

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2020-08-13
- 1.0.3 — 2020-08-13
- 1.0.2 — 2020-08-13
- 1.0.1 — 2020-08-13
- 1.0.0 — 2020-08-13

## README

# string-format-ts

A Typescript formatting library inspired by c# string.format(\"My {0} string\", \"Hello World\")",

## Installation

```sh
$ npm i string-format-ts
```

for saving into package.json
```sh
$ npm i string-format-ts --save
```

## Using

```js
import 'node_modules/string-format-ts';

...

let myString = "My {0} {1} string";
myString = myString.format("first", "test");

console.debug(myString);

/*
    output:
    My first test string
*/

```

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