1.0.7 • Published 1 year ago

defective-pixels v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Defective Pixels

A script that adds dead pixels to a webpage every time it's loaded and saves them on the local storage.

  1. Install the library with: npm i defective-pixels.
  2. Import it with:
import generatepixels from "defective-pixels"
  1. Run it by specifying the number of dead pixels to add and the id of the container where to add them:
generatepixels(100, "container_id")
1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago