1.0.0 • Published 2 years ago
which-export v1.0.0
Which export am I using?
For those times when you want to know which export of a module you are using.
npm add which-export
import which from "which-export";
console.log(which);
logs: import
console.log(require("which-export"));
logs: require (in version 12 and later of Node) logs: main (in earlier versions)
1.0.0
2 years ago