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

@jbr-hook/cli

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jbr-hook/cli

CLI-based hook handler for JBR

  • 4.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
497
increased by101.21%
Maintainers
1
Weekly downloads
 
Created
Source

JBR Hook - CLI

Build status Coverage Status npm version

A jbr hook type for a CLI-based hook.

Requirements

  • Node.js (1.12 or higher)
  • An existing jbr experiment that requires a hook.

Configure an experiment hook

If an experiment requires a hook, then you can install this CLI-based hook as follows.

$ jbr set-hook someHook cli

Output

output/logs/cli-stdout.txt: Logs of stdout. output/logs/cli-stderr.txt: Logs of stderr.

Configuration

When installing this hook, your configuration file (jbr-experiment.json) will contain the following:

...
  "someHook": {
    "@id": "urn:jrb:bb:hookSome",
    "@type": "HookCli",
    "command": "comunica-sparql-http file@generated/dataset.nt -p 3001",
    "statsFilePath": "stats.csv"
  }
...

Configuration fields

  • command: Command to execute when starting the experiment.
  • statsFilePath: Optional path to a CSV file in which the stats of the process will be written.

License

jbr.js is written by Ruben Taelman.

This code is copyrighted by Ghent University – imec and released under the MIT license.

Keywords

FAQs

Package last updated on 03 May 2024

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