Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

panic-btn

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

panic-btn

When nothing works, there is one solution left. Panic Button!!!!

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

PANIC BUTTON

When nothing works, there is one solution left. Panic Button!!!!

to install

npm i panic-btn -s

Example

See docs folder

import PanicButton from "panic-btn";

PanicButton.aaaa();

demo

demo

Settings

You can pass some settings in the aaaa method

  settings: {
    sound: 'https://freesound.org/data/previews/348/348310_6165769-lq.mp3', // AAAAA sound
    img: 'https://i.imgur.com/rwNqqt7.gif', // AAAAA gify 
    timeout: 2000, // HOW LONG DOES AAAA LAST on the PAGE
    giphyApiKey: '', // https://developers.giphy.com/ GIPHY API KEY
    giphyQuery: 'panic' // GIPHY API KE query, eg https://giphy.com/search/panic
  },

Example

PanicButton.aaaa({
    sound: 'https://freesound.org/data/previews/348/348310_6165769-lq.mp3',
    img: 'https://i.imgur.com/rwNqqt7.gif', 
    timeout: 5000, 
    giphyApiKey: 'XXXXX',
    giphyQuery: 'wtf' 
});

GIPHY

Once you provide a GIPHY API KEY each time you call aaaa a random gif will be shown, eg demo

Keywords

FAQs

Package last updated on 14 Feb 2019

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