Is it possible to use a private/standalone @ionic-native wrapper?


I was wondering if I could use npm to manage a private/standalone @ionic-native wrapper for a private cordova plugin (not published in npm repositories).
I generated the wrapper using npm build, but I couldn’t figure out how I could install --save it standalone.

Is there such a possibility ?

What do you mean by “standalone”?

You are looking for npm link.

Thanks, I will look at this.

To publish an @ionic-native wrapper, it must be part of the global, public ionic-native GitHub repo:

However, the plugin I’m wrapping is not public, and will probably never be. So, I can’t see a reason to publish this wrapper to the world for my only use.

1 Like