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

@sidekick/analyser-common

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sidekick/analyser-common

Handles input for analysers. Also defines the protocol which other programs can follow - no dependencies on JS

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
3
Weekly downloads
 
Created
Source

analyser-common

Build Status

Module that provides stdin input in a pre-defined way to a Sidekick analyser.

Provides analysers with a setup object that contains:

  • config (any configuration file contents for the analyser, e.g. .eslintrc file contents)
  • contents (the contents of the file to be analysed)
  • filePath (the file path of the file to be analysed)

You can easily write your own analysers for use with Sidekick. Sidekick analysers can be written in any language; all you need to do is accept input via stdin and provide output via stdout.

Installation

npm install --save @sidekick/analyser-common

Usage

var sidekickAnalyser = require("@sidekick/analyser-common");
sidekickAnalyser(function(setup){
  //run the analyser
});

Keywords

FAQs

Package last updated on 18 Mar 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