From the API docs
It might be interesting to note that the gravity of the earth is not removed from the sensoric values. Dependening on the position of the phone you will need to substract this from the values if you are interested in the raw values.
I'm trying to combine react-native-sensors with MaximilianBuegler/node-pedometer but it looks like the data given is not correct for the node-pedometer library, and not sure how to adapt it. Just wondering if the gravity values included in the output is the reason.