New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

restaurance

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restaurance

A package to send elements to the Heroes of the Storm.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

Restaurance

Heroes of the Storm
A package to send elements to the Heroes of the Storm.

Installation

In a browser

<script src="path/to/restaurance.bundle.js"></script>

via NPM

import restaurance from "restaurance"; //ES6
const restaurance = require("restaurance"); //CommonJS, ES6
var restaurance = require("restaurance"); //CommonJS
//etc...

Documentation

restaurance([hotsImage : Object[, elems : Array[, duration : Number]]])

Kidnap elements into the Heroes of the Storm and show advertisement of the Heroes of the Storm.

Arguments
hotsImage

An object which contains data of hots image.

default:

{
	width: 150,
	height: 150,
	x: (window.innerWidth - width) / 2,
	y: (window.innerHeight - width) / 2
}
elems

An array which contains selectors or elements which will be kidnapped into the Heroes of the Storm.

default: All elements which don't have any children.

duration

The duration(seconds) of the kidnapping animation. It should be more than 2s.

default: 30

Examples

Keywords

FAQs

Package last updated on 02 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc