Convert cordova custom plugin into ionicnative

how to convert convert cordova custom plugin into ionic native