UNPKG

dirname-shim

Version:

UMD __dirname and __filename browser shim

11 lines (8 loc) 247 B
dirname-shim.js =============== you want `__dirname` and `__filname` in the browser, plus structured stacktraces(`__stacktrace`). Now you have em. Works in webpack or UMD. Testing ------- The Mocha is still brewing... Enjoy, -Abbey Hawk Sparrow