This looks like destructuring:
const {getElementById, seedElements} = require(\'./utils\')
but I\'m confused about it. I\'m used to seeing something
Yes, that is object destructuring.
The require() function in Node.js can be used to import modules, JSON, and local files. For instance (from the docs):
// Importing a local module:
const myLocalModule = require('./path/myLocalModule');
Calling require(moduleId) returns the object module.exports of moduleId ( module.exports contains precisely all properties that are made available by the module).