# jstransformer-hjson

> Hjson support for JSTransformers.

Latest version **0.0.1** (published 2016-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install jstransformer-hjson
pnpm add jstransformer-hjson
yarn add jstransformer-hjson
bun add jstransformer-hjson
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-12-09 |
| First published | 2016-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JSTransformers Team |
| Maintainers | calebeby |
| Keywords | jstransformer, hjson |

## Links

- npm: https://www.npmjs.com/package/jstransformer-hjson
- Repository: https://github.com/jstransformers/jstransformer-hjson
- Homepage: https://github.com/jstransformers/jstransformer-hjson#readme
- Issues: https://github.com/jstransformers/jstransformer-hjson/issues
- npm.io page: https://npm.io/package/jstransformer-hjson

## Dependencies (1)

- [hjson](https://npm.io/package/hjson.md) ^2.3.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.1 (latest) — 2016-12-09

## README

# jstransformer-hjson

[Hjson](http://hjson.org/) support for [JSTransformers](http://github.com/jstransformers).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-hjson/master.svg)](https://travis-ci.org/jstransformers/jstransformer-hjson)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-hjson/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-hjson)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-hjson/master.svg)](http://david-dm.org/jstransformers/jstransformer-hjson)
[![NPM version](https://img.shields.io/npm/v/jstransformer-hjson.svg)](https://www.npmjs.org/package/jstransformer-hjson)

## Installation

    npm install jstransformer-hjson

## API

```js
var hjson = require('jstransformer')(require('jstransformer-hjson'));

var text = `
  {
    // comments
    hi: true
    // no commas
    test: this is a test
    // no quotes
  }
`
hjson.render(text).body
//=> '{"hi":"true","test":"this is a test"}'

// `formatted` is a special option that makes the output indented

hjson.render(text, {formatted: true}).body
//=> {
//=>   "hi": "true",
//=>   "test": "this is a test"
//=> }

// Options other than `formatted` are passed to hjson
// See https://github.com/hjson/hjson-js#hjsonparsetext-options
```

## License

MIT

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