The cordova-plugin-vibration plugin provides a way for Cordova applications to trigger vibrations on the device. It defines the navigator. vibrate method, which allows you to specify a vibration duration or a pattern of vibrations and pauses. This plugin also supports canceling ongoing vibrations.
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)