# raml1-json-typings

> This repository contains typings on top of JSON serialization of [RAML1 JS Parser](https://github.com/raml-org/raml-js-parser-2/)

Latest version **0.0.20** (published 2017-05-21) · 0 weekly downloads

## Install

```sh
npm install raml1-json-typings
pnpm add raml1-json-typings
yarn add raml1-json-typings
bun add raml1-json-typings
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.20 |
| Published | 2017-05-21 |
| First published | 2017-05-16 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | onpositive |

## Links

- npm: https://www.npmjs.com/package/raml1-json-typings
- npm.io page: https://npm.io/package/raml1-json-typings

## Recent versions

- 0.0.20 (latest) — 2017-05-21
- 0.0.19 — 2017-05-21
- 0.0.18 — 2017-05-21
- 0.0.16 — 2017-05-19
- 0.0.15 — 2017-05-19
- 0.0.12 — 2017-05-18
- 0.0.11 — 2017-05-16
- 0.0.10 — 2017-05-16
- 0.0.9 — 2017-05-16

## README

# RAML1 JSON OUTPUT TYPINGS
This repository contains typings on top of JSON serialization of [RAML1 JS Parser](https://github.com/raml-org/raml-js-parser-2/)

In other words this contains typings for the things that you may obtain by calling `toJSON` method on the RAML1 Parser results.

```javascript
var api = raml.loadApiSync(fName);
console.log(JSON.stringify(api.toJSON(), null, 2));
```

one typical usage will be casting JSON serialization to one of fragment interfaces declared in this typings.

```javascript
import r1=require("raml1-json-typings")
type Api=r1.Api;
...

var api = <Api>raml.loadApiSync(fName).toJSON();

```javascript

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