https://github.com/128technology/yinz
A Node.js YIN (RFC 6020) library for all yinz.
https://github.com/128technology/yinz
javascript nodejs typescript yang yang-model yin
Last synced: about 1 year ago
JSON representation
A Node.js YIN (RFC 6020) library for all yinz.
- Host: GitHub
- URL: https://github.com/128technology/yinz
- Owner: 128technology
- License: mit
- Created: 2018-05-04T19:56:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T13:21:28.000Z (about 2 years ago)
- Last Synced: 2025-03-26T03:18:35.698Z (about 1 year ago)
- Topics: javascript, nodejs, typescript, yang, yang-model, yin
- Language: TypeScript
- Size: 647 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Yinz  [](https://badge.fury.io/js/%40128technology%2Fyinz)
A library for Node.js that can parse YIN ([RFC 6020](https://tools.ietf.org/html/rfc6020)) models and ingest XML instance data associated with them. Note that is library is designed to work with consolidated XML models produced by [YINsolidated](https://github.com/128technology/yinsolidated), it will not work on standard YIN models.
This library aims to accomplish the following:
* Ingest XML datamodels produced by [YINsolidated](https://github.com/128technology/yinsolidated).
* Allow querying and walking of the ingested models, including support for the types outlined in [RFC 6020](https://tools.ietf.org/html/rfc6020).
* Ingest an XML instance of data matching the ingested datamodel. This typically comes from a [NETCONF](https://tools.ietf.org/html/rfc6241) response.
* Allow querying of the instance data, including evaluation of when conditions, leaf references, etc.