Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 552 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 552 Bytes

CCTV Everywhere

A creepy CCTV Widget for your website. Demo: http://moklick.github.io/cctv-everywhere/

Installation

$ npm install --save cctv-everywhere

Usage

/**
* Starts the cctv camera at the position and in the color of your choice.
* For the lazy: Just do cctv.watch();
*/
const CCTV = require('cctv-everywhere');

CCTV.watch({
  side: 'left', // default 'left'
  top: '50px',  // default '75px'
  color: 'rgba(0,0,0,.8)' // default '#303030'
});