# varse

> Parse variables in a string

Latest version **1.0.1** (published 2015-05-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install varse
pnpm add varse
yarn add varse
bun add varse
```

## 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.1 |
| Published | 2015-05-05 |
| First published | 2015-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daryl Ginn |
| Maintainers | darylginn |
| Keywords | template, variables, mustache, parse, var |

## Links

- npm: https://www.npmjs.com/package/varse
- Repository: https://github.com/daryl/varse
- Issues: https://github.com/daryl/varse/issues
- npm.io page: https://npm.io/package/varse

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-05-05
- 1.0.0 — 2015-04-16

## README

# varse

Varse is a super-simple module that parses variables in a string. That's all, for now.

## Installation

    $ npm install varse --save

## Example

```js
var varse = require('varse');

var str = varse('Hello, {{name}}!', {name: 'Jeff'});

console.log(str); // Hello, Jeff!
```

## Configuration

There's currently only 1 configuration option available.

```js
varse.configure({
  delims: ['<%=', '%>'] // Default: ['{{', '}}']
});
```

## License

MIT

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