# Utilities & Libraries The Miru Javascript runtime provides several built-in utilities and standard libraries. ## Networking ### `fetch()` Modern standard for network requests. Fully supported and recommended. ```javascript const res = await fetch("https://example.com"); ``` ### `Miru` object (Legacy) - `Miru.request(url)`: Uses `@webSite` as base. - `Miru.rawRequest(url)`: Absolute URL request. ## Built-in Modules Import these using `require()`: - **`linkedom`**: HTML/XML DOM Parser. - **`crypto-js`**: Cryptographic algorithms (AES, SHA, etc.). - **`md5`**: MD5 hashing. - **`jsencrypt`**: RSA encryption. - **`url`**: URL parsing and resolution. ## UI Utilities - **`throwError(message)`**: Halts execution and displays an error message to the user.