There should be a node.js module that integrates with express that browserifies modules "on the fly" (with caching) so that the client side code experience doesn't have to change and I don't need to "compile" my client JS files.
Then I could just include whatever module I want via a <script> tag and it'd happen automatically.
Somehow, socket.io made this magic happen. When I set this up initially following a tutorial, all I had to do was add this to the index.html for client side socket.io to work:
Magically the browser found the file. I guess it must have configured express for me when I included it on the server side script?
So "npm" installs modules and things that the node.js server can use, right? (I've installed a couple already and used them in my server.) How do I do that for the client/browser side of things?
Specifically, there's a circular buffer node.js package and I can install it with npm but I want to use it on the browser side and not the node.js server side. Is that a thing that there's some magic config for? I'm using Express if that matters.
Important #mastocats status update:
politics and jail Show more
I'm lucky to work with some wonderful people at Panic in downtown Portland (across from Powell's Books). Right now, we're looking for a Web Services Engineer to join us! I made this nice little video and everything. Check it out, if you're into web services, or maybe pass it on to someone you like? https://panic.com/blog/help-wanted-web-services-engineer/
AHEM. A. TIME. VORTEX. https://www.youtube.com/watch?v=hA6hldpSTF8
I knew it! Ant-Man will save the day. https://www.youtube.com/watch?v=hA6hldpSTF8
politics and death Show more
Do presidential deaths always get this much coverage? It's been basically non-stop for days now and the media seems to venerate him like he was a godly king. He hasn't been a public figure for like, 25 years!
We released a new version of our drawing app Linea today (both Sketch for iPad and Go for iPhone) with some cool new features! Artfolk might be interested in checking it out: https://blog.iconfactory.com/2018/12/zip-into-shape-with-linea/
This was the best LEGO build! What a great set. https://mastodon.social/media/zWiyO3eMsO5uwKgkZhI
politics Show more
You may know me from Twitterrific. I'm just this guy, you know?
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!