Female behind a laptop with a heartValeriaVG

How to Use Custom Files as Modules in Nodejs

#javascript, #node, #webdev, #tutorial

There are quite a few cases where you can benefit from importing an arbitrary file directly: in universal apps, tests, or simply to avoid boilerplate. Good news: you don't need Babel, Webpack, or anything else for it.

[read more]

How to Do Magic With Numbers

#javascript, #node, #webdev, #tutorial

JavaScript Number type would have been called double or float64 in a compiled language. Therefore, numbers have some limits

[read more]

5 Ways to Use Redis in Your Next Project

#redis, #node, #database

If the best code is no code at all, then the next best thing is code, that you can explain in one simple sentence. For example, like this: Redis holds a variety of structures in memory and lets you manage them through a text based command protocol. Despite, or maybe, because of its simplicity, Redis has plenty of utility in modern web architecture.

[read more]