New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@liongard/roar-sdk2

Package Overview
Dependencies
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@liongard/roar-sdk2

Node.js SDK for developing Roar inspectors

unpublished
npmnpm
Version
0.2.55
Version published
Maintainers
4
Created
Source

Node.js Roar SDK

Overview:

Roar SDK is designed to make development for Roar Inspectors easy and consistent. It provides all the needed functionality common to inspectors and Roar specific resources an inspector might need.

Status:

NPM version Dependencies Dev Dependencies Vulnerabilities Code Coverage

Installation

npm install roar-sdk

Usage

To write an inspector using the SDK

  • Register for a developer account and get your client_id and secret at Roar Developer Portal.

  • Install the roarcli via

    npm install -g roarcli
    
  • Generate an inspector via the roarcli

    roarcli generate-inspector myinspector
    
  • Now begin editing the source file in myinspector/src/index.js using the roar-sdk methods

Running Tests

To run the test suite first invoke the following command within the repo you first need to install the development dependencies (run where the package.json is):

npm install

Then run the command:

npm test

To run the tests without the mocks:

NOCK_OFF=true npm tests

To get code coverage run:

npm run coverage

Before Checking In

Make sure you run:

npm run check

before doing any checkings. Pre-commit will automatically run test and eslint for you.

Contribution

  • If you would like to contribute, please fork the repo and send in a pull request.
  • Please ensure you run grunt before sending in the pull request.

License

BSD-3-Clause

Contributions

Pull requests and new issues are welcome. See CONTRIBUTING.md for details.

Keywords

liongard

FAQs

Package last updated on 01 Nov 2018

Related posts