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.
- For the pre-requirements of installation, refer to the Pre-requirements section.
- For the installation of ngsi-parser npm module, refer to the documentation of this module in the How to Install section.
- For the installation of ocb-sender npm module, refer to the documentation of this module in the How to Install section.
- Refer to the ngsi-parser section for the more information about functionalities of this module and how to implement them.
- Refer to the ocb-sender section for the more information about functionalities of this module and how to implement them.
- In the Examples of both modules usage section refer information about how to use functionalities of both module together.
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