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

oranch-client

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

oranch-client

Log receiving module with node

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

oranch-client

Log receiving module with oranch. This module uses oranch npm module. Oranch tracks any format logfiles. Therefore oranch-client supports tasks that invoked by oranch log-tracking.

How to install

$ npm install oranch-client

Services

oranch-client will support many tasks however now only supports mail-service.

mail-service

Usage

First you need to set mail service configuration. Mail service configuration is below. oranch-client mail service now supports GMail transporter.

  • user : GMail account name
  • pass : GMail account password
  • from : Envelope header
  • to : Envelope header
  • subject : Envelope header
  • logfile : Tracking target logfile name
  • match : Matching condition written in RegExp
Example
var OranchClient = require('oranch-client');

var config = {
    service  : 'mail',
	user     : 'someone@gmail.com'
	pass     : 'somepassword',
	from     : 'Production server <prod.com>',
	to       : 'your_mail_address@example.com',
	subject  : 'Hello, World!',
	schedule : '*/3 * * * * *',
	logfile  : __dirname + '/logfile.log',
	match    : '/ERROR/'
};

var client = new OranchClient(config);
client.mail.start();

License

MIT License

FAQs

Package last updated on 01 Jul 2013

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