# Vanilla JavaScript Runtime Environment Variables > Access runtime environment variables in plain JavaScript with ESM imports. No framework, no build tool — works in any browser app that produces HTML. Source: https://rep-protocol.dev/frameworks/vanilla/ ## Installation ```bash npm install @rep-protocol/sdk ``` Or use directly from your bundled assets without npm. ## Basic usage ```html ``` ## With hot reload ```html ``` ## Integrity verification ```html ``` ## Development mode Without the gateway, `rep.get()` returns `undefined`. Two options: **Option A: Check and use fallbacks** ```javascript const apiUrl = rep.get('API_URL') ?? 'http://localhost:3000'; ``` **Option B: Mock payload in HTML** ```html ``` ## No build tool required REP works without any build tool. If you have a static HTML site with inline ` ``` The gateway injects the `