---
title: "Gemma Black (@GemmaBlack) | Hashnode"
description: "I'm a Senior Software Engineer. With 10+ years working within tech teams, and 20+ years working with code, I develop across the stack, assisting with applica..."
url: "https://hashnode.com/@GemmaBlack"
---

@GemmaBlack

# Gemma Black

@GemmaBlack · London, UK · Joined October 2020

[Website](https://gemmablack.dev/)

### [Understanding Sequelize's 'escape' function](https://gemmablack.dev/understanding-sequelizes-escape-function?utm_source=hashnode&utm_medium=feed)

So a disclaimer. As a software engineer, I'm not a security expert. I rely heavily on those who know better, especially OWASP. So all feedback is welcome to help fix any flaws in the article or improve it. Sequelize is a very robust database ORM for...

7 min read · [gemmablack.dev](https://gemmablack.dev/understanding-sequelizes-escape-function?utm_source=hashnode&utm_medium=feed)

[Jan 5, 2025](https://hashnode.com/posts/understanding-sequelizes-escape-function/677a4f25f83724416aa34556)

### [Node.js: using fs.watch to re-import CommonJS modules.](https://gemmablack.dev/nodejs-using-fswatch-to-re-import-commonjs-modules?utm_source=hashnode&utm_medium=feed)

Disclaimer. This is an investigation into what is possible. Not a fully-blown solution into how to reload modules without restarting the whole server. In a previous article, I was investigating how to use require.cache to refresh a module by deletin...

3 min read · [gemmablack.dev](https://gemmablack.dev/nodejs-using-fswatch-to-re-import-commonjs-modules?utm_source=hashnode&utm_medium=feed)

[Nov 17, 2024](https://hashnode.com/posts/nodejs-using-fswatch-to-re-import-commonjs-modules/673a4071ece0894219008f99)

### [Node.js: refreshing a module using require.cache](https://gemmablack.dev/nodejs-refreshing-a-module-using-requirecache?utm_source=hashnode&utm_medium=feed)

This is purely in reference to CommonJS modules. TLDR Before I bore you with why I did this, refreshing a module can be done by deleting its reference in the require.cache object. Like so: require('./some-module') // use module delete require.cach...

5 min read · [gemmablack.dev](https://gemmablack.dev/nodejs-refreshing-a-module-using-requirecache?utm_source=hashnode&utm_medium=feed)

[Nov 17, 2024](https://hashnode.com/posts/nodejs-refreshing-a-module-using-requirecache/6739b4167e35daafe18ccf4b)

### [Laravel: Modularizing Little Pieces of Logic Through Local Composer Packages](https://gemmablack.dev/laravel-modularizing-little-pieces-of-logic-through-local-composer-packages?utm_source=hashnode&utm_medium=feed)

“Premature optimisation is the root of all evil”. But sometimes you know upfront that you can create a clean module, separate from the rest of the Laravel app. And I like Kelly Sutton’s mantra – optimize for deletability. Why? “By working with code,...

2 min read · [gemmablack.dev](https://gemmablack.dev/laravel-modularizing-little-pieces-of-logic-through-local-composer-packages?utm_source=hashnode&utm_medium=feed)

[Nov 10, 2024](https://hashnode.com/posts/laravel-modularizing-little-pieces-of-logic-through-local-composer-packages/6731284e361248d9515063fe)

### [Sacrilege: Why I decided to use JSON in a relational database to manage visa checklists?](https://gemmablack.dev/sacrilege-why-i-decided-to-use-json-in-relational-database-to-manage-visa-checklists?utm_source=hashnode&utm_medium=feed)

So the consensus is that JSON in a relational database is bad. Now, while I’m not a database expert by no stretch of the imagination, I will just say that there’s nothing wrong about it if used in the right way. So my problem: modelling visa checklis...

3 min read · [gemmablack.dev](https://gemmablack.dev/sacrilege-why-i-decided-to-use-json-in-relational-database-to-manage-visa-checklists?utm_source=hashnode&utm_medium=feed)

[Sep 19, 2024](https://hashnode.com/posts/sacrilege-why-i-decided-to-use-json-in-relational-database-to-manage-visa-checklists/66ebfb647396c7174b0d5a03)
