Is there a way that we can write custom ionic 2 components and maintain them as a separate package that lives outside of an ionic 2 app and be able to consume them across multiple ionic 2 apps
with npm install --save ?

For example

create a component in angular2 ionic 2

make it a package using npm

and then in an ionic 2 app – consume it as a library like npm install --save