# yang-parser

> Parser of YANG data modelling language

Latest version **0.2.1** (published 2017-01-28) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install yang-parser
pnpm add yang-parser
yarn add yang-parser
bun add yang-parser
```

## 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.2.1 |
| Published | 2017-01-28 |
| First published | 2014-12-18 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Ladislav Lhotka |
| Maintainers | llhotka |
| Keywords | YANG, functional, parser |

## Links

- npm: https://www.npmjs.com/package/yang-parser
- Repository: https://github.com/llhotka/yang-parser-coffee
- Homepage: https://github.com/llhotka/yang-parser-coffee/wiki
- Issues: https://github.com/llhotka/yang-parser-coffee/issues
- npm.io page: https://npm.io/package/yang-parser

## Dependencies (1)

- [comparse](https://npm.io/package/comparse.md) >= 0.9.x

## 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

- 0.2.1 (latest) — 2017-01-28
- 0.1.2 — 2017-01-12
- 0.1.1 — 2017-01-11
- 0.1.0 — 2014-12-18

## README

YANG Parser
===========

This is a parser for the YANG data modelling language ([RFC 7950](http://tools.ietf.org/html/rfc7950)). It is written in CoffeeScript using the [Comparse](https://www.npmjs.com/package/comparse) functional parsing library.

So far, the parser only does lexical analysis using the rules of RFC 7950. That is, the `parse` function returns an object representing the tree of YANG statements without doing any syntactic or semantic checks.

The annotated CoffeeScript source is [here](https://github.com/llhotka/yang-parser-coffee/blob/master/src/yang-parser.litcoffee).

License
-------

Copyright © 2014–2017 Ladislav Lhotka, CZ.NIC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Installation
------------

For a global installation, run

    npm install -g yang-parser

Root privileges (`sudo`) might be needed.

Leave off `-g` if you prefer a local installation.

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