explicit typeof check for Node for node
2.1.4