Article
Web scraping typically refers to an automated process of collecting data from websites. On a high level, you're essentially making a bot that visits a website, detects the data you're interested in, and then stores it into some appropriate data structure, so you can easily analyze and access it later....
Leonardo Rodriguez
Regular expressions are on of the most powerful tools in a developer's toolkit. But let's be honest, regex kind of sucks to write. Not only is it hard to write, but it's also hard to read and debug too. So how can we make it easier to use? In its...
Scott Robinson
Byte
Let's talk about extracting names from email addresses using JavaScript. This can be useful when you're dealing with bulk data and need to personalize your communication. For instance, you might want to send out a mass email to your users but address each one by their name. Let's see how...
If you've been working with JavaScript, you've probably come across the term export default and wondered what it is or how it works. This Byte is meant for developers with a basic understanding of JavaScript, who are looking to deepen their knowledge of the language's intricacies. We'll be taking a...
When dealing with real-time, interactive, or dynamic applications, you may need to run a function every N seconds in TypeScript. In this Byte, we'll go over exactly how to do that. Why Use Time-Interval Function Calls? There are a lot of different scenarios where you might want to execute a...
Ever wondered how to manage sensitive data like API keys, database credentials or configuration settings in your Node.js applications? The answer lies with environment variables. This Byte will give a brief intro to environment variables, why they are important, and then we'll explore how to read them in Node....
In programming, we often need to deal with dates and times, which can be represented in a few different ways, like an object (via Date), a string (i.e. "2023-10-04T00:00:00.000Z"), or a timestamp (i.e. 1696377600000). In this Byte, we'll explore how to convert a...
Welcome to this Byte! We're going to take a closer look at the infamous npm ERR! gyp ERR! stack Error: 'make' failed with exit code: 2. This error message might seem like a jumble of words and symbols, but it's actually a cry for help from your npm installation. We'll...
In this Byte we'll try to help you understand and fix a common npm error - "npm ERR! code ENOTEMPTY". If you've been working with Node.js and npm, chances are you've encountered this error at some point. But don't worry, we'll do our best to demystify it...
© 2013-2024 Stack Abuse. All rights reserved.