I would like to read the temperature from a DS18B20 in a Beagle Bone Black with a Node js application.
How can do it?

Thank you very much.

You can check this tutorial (http://www.bonebrews.com/temperature-monitoring-with-the-ds18b20-on-a-beaglebone-black/) to know how to read data from a DS18B20. Then you need read the 1-wire slave file from a node.js script.