# gulp-json-refs

> Gulp package for json-refs

Latest version **0.1.1** (published 2016-06-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-json-refs
pnpm add gulp-json-refs
yarn add gulp-json-refs
bun add gulp-json-refs
```

## 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.1.1 |
| Published | 2016-06-14 |
| First published | 2015-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Scott Morris |
| Maintainers | scott.morris |
| Keywords | json-refs, jsonrefs, json, gulp |

## Links

- npm: https://www.npmjs.com/package/gulp-json-refs
- Repository: https://github.com/scott-morris/gulp-json-refs
- Issues: https://github.com/scott-morris/gulp-json-refs/issues
- npm.io page: https://npm.io/package/gulp-json-refs

## Dependencies (4)

- [clone](https://npm.io/package/clone.md) ^1.0.2
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.5.2
- [json-refs](https://npm.io/package/json-refs.md) ^2.1.5
- [event-stream](https://npm.io/package/event-stream.md) ^3.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.1.1 (latest) — 2016-06-14
- 0.0.1 (beta) — 2015-07-24

## README

# gulp-json-refs

Gulp wrapper for [json-refs] - Various utilities for [JSON References][json-reference-draft-spec], and [JSON Pointers][json-pointer-spec] since JSON
References are part JSON Pointer.

## Project Badges

* Build status: [![Build Status](https://travis-ci.org/scott-morris/gulp-json-refs.svg)](https://travis-ci.org/scott-morris/gulp-json-refs)
* Dependencies: [![Dependencies](https://david-dm.org/scott-morris/gulp-json-refs.svg)](https://david-dm.org/scott-morris/gulp-json-refs)
* Developer dependencies: [![Dev Dependencies](https://david-dm.org/scott-morris/gulp-json-refs/dev-status.svg)](https://david-dm.org/scott-morris/gulp-json-refs#info=devDependencies&view=table)
* Downloads: [![NPM Downloads Per Month](http://img.shields.io/npm/dm/gulp-json-refs.svg)](https://www.npmjs.org/package/gulp-json-refs)
* Gitter: [![Join the chat at https://gitter.im/scott-morris/gulp-json-refs](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scott-morris/gulp-json-refs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
* License: [![License](http://img.shields.io/npm/l/gulp-json-refs.svg)](https://github.com/scott-morris/gulp-json-refs/blob/master/LICENSE)
* Version: [![NPM Version](http://img.shields.io/npm/v/gulp-json-refs.svg)](https://www.npmjs.org/package/gulp-json-refs)

Note that this is still in early (and heavy) development

## Why?

Let's say you have a number of files with multiple references that you'd like to resolve. This will get it done.

## Installation

Install package with NPM and add it to your development dependencies:

```bash
npm install --save-dev gulp-json-refs
```

## Usage

```javascript
var json_refs = require('gulp-json-refs');

gulp.task('resolveRefs', function() {
  return gulp.src('data/*.json')
    .pipe(json_refs())
    .pipe(gulp.dest('dist'));
});
```

[bower]: http://bower.io/
[npm]: https://www.npmjs.com/
[json-refs]: https://github.com/whitlockjc/json-refs
[json-reference-draft-spec]: http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03
[json-pointer-spec]: http://tools.ietf.org/html/rfc6901
[path-loader]: https://github.com/whitlockjc/path-loader

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