datamodel-aml-node is a nodejs binding written over datamodel-aml-cpp, that provides the way to present raw data(key/value based) to AutomationML(AML) standard format.
- Transform raw data to AML data(XML).
- Serialization / Deserialization AML data using protobuf.
-
nodejs
- Version : 8.9.4 [Node js Download link]
-
npm
- Version : 5.6.0
-
Goto: ~/datamodel-aml-node/
-
Run the script:
./build.sh : Native build for x86_64 with default flags. ./build_32.sh : Native build for x86 with default flags. ./build_common.sh : Generic build script.
Note:
- For getting help about script options: $ ./build_common.sh --help
- While building for first time use: --js_dependencies=true flag
Built datamodel-aml-node.
- Goto: ~/datamodel-aml-node/samples/
- Run the sample:
node sample.js
Built datamodel-aml-node.
- Goto: ~/datamodel-aml-node/unittests
- Run the test cases:
$ ../node_modules/mocha/bin/mocha *js