On this page
Install with ESM 
The Nimiq Web Client ships with support for ESM.
Installation 
bash
npm install @nimiq/core@nextbash
yarn add @nimiq/core@nextbash
pnpm add @nimiq/core@nextbash
bun add @nimiq/core@nextAnd now you are ready to go!
js
import init, { Client, ClientConfiguration } from '@nimiq/core/web'
await init()
const config = new ClientConfiguration()
const client = await Client.create(config.build())
await client.waitForConsensusEstablished()Contribute 
You can help us improve this guide by contributing to the Nimiq Web Client documentation on GitHub. Simply click the Edit this page button at the bottom of the page to suggest changes.