I noticed that the browser version is literally the same as the node version, except for the extra void function at the end of the node version. I find tracking multiple versions of a file to be needlessly confusing, so I used the UMD template to make a version that works in both environments, while preserving the extra functionality in Node. To keep the whole directory structure with as little impact as possible, I simply replaced the web/ntseq.js file with a symbolic link to the lib/nt.js file, which now loads flawlessly in-browser.
I noticed that the browser version is literally the same as the node version, except for the extra void function at the end of the node version. I find tracking multiple versions of a file to be needlessly confusing, so I used the UMD template to make a version that works in both environments, while preserving the extra functionality in Node. To keep the whole directory structure with as little impact as possible, I simply replaced the
web/ntseq.js
file with a symbolic link to thelib/nt.js
file, which now loads flawlessly in-browser.