This library is a software tool with the aim of transforming JSON entities to NGSI data models, which can be manipulated or operated by the FIWARE Orion Context Broker.
The NGSI library for JavaScript environment is a software tool with the aim of transforming JSON entities to NGSI data models, which can be manipulated or operated by the FIWARE Orion Context Broker. This library can be implemented in applications through Node.js execution environment, such as RESTFul web services or backend.
The NGSI JavaScript Library is composed of two npm modules:
NGSI-parser module analyzes the syntax of non-structured JSON objects to transform them into FIWARE-NGSI v2 context entities.
OCB-sender manipulates FIWARE-NGSI v2 context entities with the aim of send them to the FIWARE Orion Context Broker and, in this way make operations with them.
In order to clone this repository its necessary execute git clone —recursive command, to download the code and resources of submodules ngsi-parser and ocb-sender.
git clone --recursive https://github.com/cenidetiot/ngsi-js-library.git