### Basic Expansion main.js Template Source: https://www.nexomaker.com/devs/api/starting-expansion This is a fundamental template for the main.js file of a Nexo Maker expansion. It demonstrates the required `module.exports.init` function for the expansion's entry point and the `module.exports.metadata` object, which includes essential `id` and `version` properties for expansion identification and updates. ```javascript // main.js module.exports.init = async function () { // Your Extension Code goes HERE } module.exports.metadata = { id: "your-expansion", version: "0.1" } ``` -------------------------------- ### Nexo Maker API Shorthand and Asset Loading Source: https://www.nexomaker.com/devs/api/starting-expansion This JavaScript snippet shows how to create a convenient shorthand for the Nexo Maker API and demonstrates how to load an asset file. The `nm` variable provides easier access to API functions, and `nm.loadAsset` is used to load resources like images from the expansion's directory. ```javascript const nm = api.nexomaker; const customIMG = await nm.loadAsset(__dirname + "/assets/customImg.png"); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.