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

tractor-output

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tractor-output

Provides a binary to parse tractor output

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

tractor-output

Install the executable from NPM

npm install -g tractor-output

Use it like so:

tractor-output-exe -b chrome -c peach ~/Downloads/tractor-firefox-1501489618.txt

Install and build from source

  1. Install Haskell Stack
  2. stack setup
  3. stack build

Running the App

  • stack ghci - to enter the REPL
  • `:set args -b "chrome" -c "color" "filepath.txt"
    • this sets the values that getArgs will return when called in main
  • main executes the actual program
  • ctrl + d to exit the REPL

Publish to NPM

  1. Bump package.json and tractor-output.cabal to the new version.
  2. npm publish

TODO

  • move to github
  • browser and color should be optional
    • if they are not present they should be parsed from the file
  • browser should be checked against list of browsers?
    • maybe this isn't necessary now since we know which arg was the browser?
    • could be helpful, but will also need to be maintained
  • should I verify the file?
    • you already get an error if it isn't there - maybe that isn't on me?
  • TESTS!!!!

FAQs

Package last updated on 16 Aug 2017

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