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

gemini-events

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

gemini-events

A gemini plugin to listen to gemini events

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

gemini-events

A simple plugin for Gemini to be able to listen to events.

Install

npm install gemini-events

Usage

Define the event callbacks in your Gemini configuration file and pass them as configuration options to the plugin:

startRunner - emitted before the start of test or update command. If you return a promise from the event handler, the start of the command will be delayed until the promise resolves.

endRunner - emitted after the end of the test or update command.

//.gemini.js

function startRunner () {
    
}

function endRunner () {
        
}

module.exports = {
  rootUrl: "http://yandex.com",
  "system": {
    "plugins": {
      "events": {
        "startRunner": startRunner,
        "endRunner": endRunner
      }
    }
  },
  "browsers": {
    ...
  }
}

License

gemini-events is licensed under the MIT license.

Keywords

FAQs

Package last updated on 11 Jul 2016

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