I've added the getMetaData and getChangeLog functionality. c++ is not my strong point, so don't know if the following:
OpenZWave::Node::MetaDataFields metadata = static_cast<OpenZWave::Node::MetaDataFields>(Nan::To<int>(info[1]).ToChecked());
Looks good to me. As for the static cast, I think we just need proper boundary checks (ie test if the integer supplied is within the MetaDataFields enum)
I've added the getMetaData and getChangeLog functionality. c++ is not my strong point, so don't know if the following:
OpenZWave::Node::MetaDataFields metadata = static_cast<OpenZWave::Node::MetaDataFields>(Nan::To<int>(info[1]).ToChecked());
is the correct way to cast and int to enum.