# Npm search custom registry

**URL:** <https://discourse.nodered.org/t/npm-search-custom-registry/2446>\
**Category:** General\
**Created:** [21 August 2018 12:56 UTC](https://discourse.nodered.org/t/npm-search-custom-registry/2446 "2018-08-21T12:56:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![farfromrefug](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/farfromrefug/32/1926_2.png) [@farfromrefug](https://discourse.nodered.org/u/farfromrefug)\
**Post date:** [21 August 2018 12:56 UTC](https://discourse.nodered.org/t/npm-search-custom-registry/2446/1 "2018-08-21T12:56:43Z")

</div>

We use some custom and private npm node-red packages that we maintain on our private npm registry.  
Is there a way to add that registry to node-red? Kind of like what we do with registry in .npmrc?

I have looked at the code but can't really find where exactly was the query for modules list from npm.

Thanks

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 August 2018 13:39 UTC](https://discourse.nodered.org/t/npm-search-custom-registry/2446/2 "2018-08-21T13:39:42Z")

</div>

Hi @farfromrefug

The Node-RED editor doesn't query npm directly - it accesses a catalogue we curate on [flows.nodered.org](http://flows.nodered.org)

You can provide your own catalogue in addition to the default one - some details here: [https://github.com/node-red/node-red/wiki/Design%3A-Palette-Management-UI#customising-the-catalog](https://github.com/node-red/node-red/wiki/Design%3A-Palette-Management-UI#customising-the-catalog)

The runtime will still invoke `npm install <modulename>` regardless of the catalogue it comes from - so you'll also need to configure .npmrc to do the right thing.

---

<div class="post-metadata">

**Author:** ![farfromrefug](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/farfromrefug/32/1926_2.png) [@farfromrefug](https://discourse.nodered.org/u/farfromrefug)\
**Post date:** [21 August 2018 14:03 UTC](https://discourse.nodered.org/t/npm-search-custom-registry/2446/3 "2018-08-21T14:03:13Z")

</div>

HI @knolleary,

Thanks ! It s really cool to see that It is possible!  
Do you have a tool to generate that json file?

about the npmrc yes that what I thought . Will try with a .npmrc generated inside nodered.settings.userDir.

Thanks
