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

farm-invest-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

farm-invest-cli

Are there new investment opportunities on FarmCrowdy, ThriveAgric or EFarms?

  • 1.0.1
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Farm Invest CLI

A CLI tool, built to detect updates to the products on:

  • EFarms
  • ThriveAgric
  • FarmCrowdy

Installation

with npm

npm i -g farm-invest-cli

with yarn

yarn add global farm-invest-cli

for developers

git clone https://github.com/mykeels/farm-invest-cli
cd farm-invest-cli
npm install
npm link

Usage as a CLI tool

farm-invest-cli
farm-invest-cli efarms # only efarms
farm-invest-cli farm-crowdy # only farm-crowdy
farm-invest-cli thrive-agric # only thrive-agric

You'll get an output like:

farm-invest-cli output

Where the green text shows new products, and text is only shown when there is a difference between the products currently existing and the last time it checked.

Usage in Node environment

const { syncAll, syncEFarms, syncFarmCrowdy, syncThriveAgric } = require('farm-invest-cli')

syncAll().then(diff => {
    console.log(diff.toString()) // a product text diff for all sources
})

syncEFarms().then(diff => {
    console.log(diff.toString()) // a product text diff for eFarms
})

syncFarmCrowdy().then(diff => {
    console.log(diff.toString()) // a product text diff for Farm-Crowdy
})

syncThriveAgric().then(diff => {
    console.log(diff.toString()) // a product text diff for Thrive-Agric
})
const { getEFarms, getFarmCrowdy, getThriveAgric } = require('farm-invest-cli')

getEFarms().then(productListText => {
    console.log(productListText) // a textual description of active products on eFarms
})

getFarmCrowdy().then(productListText => {
    console.log(productListText) // a textual description of active products on Farm-Crowdy
})

getThriveAgric().then(productListText => {
    console.log(productListText) // a textual description of active products on Thrive-Agric
})

Keywords

FAQs

Package last updated on 28 Jan 2019

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