Nick
Nick12mo ago

Hi team, what is the process of

Hi team, what is the process of leveraging an existing npm package? I do want to be able to connect to the memphis.dev messagebroker (npm package: npm i memphis-dev --save) How to 'import' and use it?
1 Reply
Gaurav Chadha
Gaurav Chadha12mo ago
Hi @Nick, you can use the AI node generator to leverage any NPM package that is available without installing manually. You can paste the prompt in the AI node generator and specify the desired condition. Just to ensure that things works perfectly fine, the imports should always in the named import format. Example for memphis - import { memphis, Memphis } from 'memphis-dev';