Short Bytes: Many node modules have to support Cross Environment Javascript namely in Node.js and browser. UMD was a good wrapper around checking the environment and then writing our module’s logic, but it has its caveats. Namely, we’d have to write too much if the else logic in one single function or file node-browser-resolve npm package helps us write […]
The post Writing Cross Environment NPM Package for Both Browser and Node appeared first on Fossbytes.
Writing Cross Environment NPM Package for Both Browser and Node
read more
No comments:
Post a Comment