Save contact in the device using capacitor community plugin

I am trying to save contact in the device using capacitor community plugin. But it doesn’t work. Can someone give me an example to save contact using capacitor community plugin.