3 ms·
when installing modules from npm, it's customary to use commonjs and `require` them. or you could simply download the built version, include it as a script tag
by daliwali 11y ago
when installing modules from npm, it's customary to use commonjs and `require` them. or you could simply download the built version, include it as a script tag and use the global `window.simulacra`. I have yet to build a complex app using my own lib, but it's one of the main reasons why I wrote it.
- deleted 11y ago[deleted]
- jordanlev 11y agoAh, gotcha. I didn't notice the download button on your website at first. (You might want to remove the faded style from it -- it looks disabled to me and I think that's why I glossed over it.) Thank you!