function isNode() {
  return typeof require === "function" &&
  typeof exports === "object" &&
  typeof module === "object" &&
  typeof window === "undefined";
}
// checks basic globals to help determine which environment we are in
checks basic globals to help determine which environment we are in
checks basic globals to help determine which environment we are in
function isNode() {
  return typeof require === "function" &&
  typeof exports === "object" &&
  typeof module === "object" &&
  typeof window === "undefined";
}
function isNode ( ) { return typeof require === "function" && typeof exports === "object" && typeof module === "object" && typeof window === "undefined" ; }
checks basic globals to help determine which environment we are in
checks basic globals to help determine which environment we are in