Company logo
May 28, 2021

CommandBar installable as npm package

Richard Freling's avatar

As an alternative to installing CommandBar via the snippet, you can now use our npm package!

How can I turn this on? 🛠

Install the npm package via

yarn add commandbar-browser

And then inside your code:

import {init} from 'commandbar-browser'; ... // to load CommandBar init("<your organization's ID>")

Please note: the snippet and npm package are substitutes, so if you've already installed CommandBar, installing the npm package won't give you additional functionality.