Skip to content

A demonstration of toggling vibrations on devices that use the browser vibration API

License

Notifications You must be signed in to change notification settings

goatandsheep/piez

Repository files navigation

Piez

A library to help with persistent vibrations on mobile

npm version Known Vulnerabilities codecov XO code style npm downloads

Node installation

npm i piez

Example

import {
	isVibrating,
	startVibrate,
	stopVibrate,
	toggleVibrate
} from 'piez'

Credit

Inspired by MDN

Brought to you by beatcaps.io

About

A demonstration of toggling vibrations on devices that use the browser vibration API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published