Socket
Book a DemoInstallSign in
Socket

swan-station

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swan-station

You have to call the function button within a designated time or a function will be called.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

swan-station

You have to call the function button within a designated time or a another function will be called. Calling the function resets the timer

js-standard-style

Yes this is a silly silly name... But it is thematic.

example

var swanStation = require('swan-station')

var initiateMeltdown = function(){ console.log('Meltdown!') }
var button = swanStation({ time: 1000 * 60 * 108, call: initiateMeltdown })

// call this button every 108 minutes or meltdown will be initiated
button()

// to destroy the button
button.destroy()

Keywords

timeout

FAQs

Package last updated on 28 Aug 2015

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