# hassium

> ES2015 Template Tag for JSON

Latest version **2.0.0** (published 2018-04-24) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.0 |
| Published | 2018-04-24 |
| First published | 2016-07-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Anton Verinov |
| Maintainers | zemlanin |

## Links

- npm: https://www.npmjs.com/package/hassium
- Repository: https://github.com/zemlanin/hassium
- Homepage: https://github.com/zemlanin/hassium#readme
- Issues: https://github.com/zemlanin/hassium/issues
- npm.io page: https://npm.io/package/hassium

## Recent versions

- 2.0.0 (latest) — 2018-04-24
- 1.0.0 — 2016-07-15

## README

# hassium
ES2015 Template Tag for JSON. Powered by [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy)

[![Build Status](https://travis-ci.org/zemlanin/hassium.svg?branch=master)](https://travis-ci.org/zemlanin/hassium)

## Usage
```js
import hs from 'hassium'

const wrapBooleanInObject = hs`{"x": ${Boolean}}`
wrapBooleanInObject({})
  // => {"x": true}

const mapInnerValue = hs`{"x": ${hs.lol.length}}`
mapInnerValue({lol: ['something']})
  // => {"x": 1}
```

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