I’ve heavily promoted nvm, a Node.js version manager, over the years. Having a tool to manage multiple versions of a language interpreter has been so useful, especially due to the complexity of Node.js package management.
One tip I like to give new developers is adding a
.nvmrc file to their repositories. The file contents is just a simple string representing the version of Node.js the project requires:
A project with this
.nvmrc is specifying that Node.js
v16 should be used. Any developer could then run
nvm use to download, install, and switch to that version. A
nvm install call would then install dependencies in line with that version.
It’s no secret that Facebook has become a major traffic driver for all types of websites. Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly. And of course there are Facebook “Like” and “Recommend” widgets on every website. One…
One event that’s always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?