:doodle { @grid: 1x80 / 100% 8rem; position: absolute; top: 60px; left: 0; z-index: 0; } @keyframes slide-in 0% { transform: translateY(-100%); } 100% { transform: traslateY(0); } } :hover { opacity: 1; } transition: opacity .2s ease-in-out; animation: slide-in .25s ease-in-out; opacity: @pick(.06, .12, .18, .24, .3, .36); background: @pick(#7492E6, #8f72C3, #9C66B3, #BA4D95, #DC3C75); height: @rand(15%, 100%); margin: 0 .2rem;

👀 Sign up for email newsletter or use this RSS feed to get notified of new blog posts!🔥

Introduction to the npm node package manager

A simple guide to npm, with a briefly introduction to the node package manager, In September 2019 over 1 million packages were reported beign listed in the npm registry, making npm the biggest single language code repository!

Nodejs Reading Files

The easiest way to read a file in Node is to use the `fs.readFile()` function to asynchronously reads the entire contents of a file. Alternatively, you can use the synchronous version `fs.readFileSync()`

Express Serving Static Files

It's common to have images, css, js and more assets in a `public` folder, and expose them to the root level. To do that we just simple use the `express.static` built-in middleware function in Express `static` of express

Express Security

Security is really hard to get right. There are so many different factors to consider, countless different ways to break an application. As a Node.js developer, you most work with a huge amount of user data, probably some of them being very sensitive.

Basic Express Server with Node.js

A short guide of the Express framework with Node.js to create a basic server, that allows you to spin up robust APIs and web servers in an easy and clean way.