Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

knova-recontributor

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

knova-recontributor

HTTP requests to Knova recontribute endpoint.

latest
Source
npmnpm
Version
0.0.26
Version published
Maintainers
1
Created
Source

knova-recontributor

Performs one HTTP request per second. Can be run from the command line or included as part of another project.

To install:
npm i knova-recontributor

CLI:

f => path to id list *required
u => url with token {id} *required
d => dry (test) run (will hit google.com)
l => log path
v => debug logging

Usage if you are including it as part of another project:

var knovaRecontributor = require('knova-recontributor');
knovaRecontributor.updateKnova(IDList, tokenString, callback);


It will loop through the IDList, replacing the token in the url with each element and perform an HTTP request.
If any requests fail, it will write each failed ID to a file 'failedIDs.csv' in the project directory.

Keywords

Knova

FAQs

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