# Using cloudantStorage.js in 'storageModule' config option

**URL:** <https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172>\
**Category:** General\
**Created:** [23 November 2021 18:34 UTC](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172 "2021-11-23T18:34:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hammoaj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hammoaj/32/1998_2.png) [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Post date:** [23 November 2021 18:34 UTC](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172/1 "2021-11-23T18:34:37Z")

</div>

I'm looking to port the existing cloudStorage.js option to the latest version of NR and wanted to know whether it is likely to work as-is within the 'storageModule' config option:

```auto
storageModule: require("cloudantStorage");

```

I am aware that it will need packaging as a module before I can do this, but wanted a view as to whether the code already has the functions needed (realistically this is probably a question for @knolleary as it's his code and is probably only used within IBM).

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:** [23 November 2021 18:47 UTC](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172/2 "2021-11-23T18:47:39Z")

</div>

Hi @hammoaj

It should just work as is. The storage plugin APIs haven't changed for years.

Nick

---

<div class="post-metadata">

**Author:** ![hammoaj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hammoaj/32/1998_2.png) [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Post date:** [26 November 2021 15:53 UTC](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172/3 "2021-11-26T15:53:16Z")

</div>

Thanks Nick

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 January 2022 15:53 UTC](https://discourse.nodered.org/t/using-cloudantstorage-js-in-storagemodule-config-option/54172/4 "2022-01-25T15:53:37Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
