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

asuha

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asuha

Asuha: the Webhook server for online git hosting services.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Asuha

Asuha: the Webhook server for online git hosting services.

travis Coverage Status npm npm

WIP

Currently only support for Bitbucket. There are other great packages for Github (e.g. probot) that you can have a try ;)

Chigusa Asuha chan

Base Concepts

  • Asuha is designed as a module to report remote Git events through EventEmitter API.

Installation

npm install asuha

Example

const Asuha = require('asuha')

const asuha = Asuha.http()
  .addRepo('git@bitbucket.org:user/repo.git')
  .on('remote', (host, fullname, event, commits) => {
    // on repo:push
  })
  .listen(function () {
    const { address, port } = asuha.server().address()
    console.log('Asuha is listening on %s:%d', address, port)
  })

Then set the repository's webhook to where the Asuha server is listening on and make a Git push to the remote repository to test the server.

Keywords

FAQs

Package last updated on 27 Jul 2018

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