In npm we have a facility called as "get-mac-address" which returns the MAC address as an object. I want it to be embedded in my react web app. I feel difficulty bcoz react ES6 doesn't support var getMacAddress = require("get-mac-address")
code.
This link has output in normal js:-get-mac-address.
Could anyone provide the equal react version of it please.