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

cydiarepodownloader

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

cydiarepodownloader

Simple Cydia downloader for NodeJS

latest
Source
npmnpm
Version
1.5.4
Version published
Maintainers
1
Created
Source

CydiaRepoDownloader

Simple Cydia Repo installer and parser for NodeJS

Like this? Check out the CyDesktop application being made with this package!

Usage

Parse Repository as JSON

import * as CRD from 'cydiarepodownloader';
const repoData = await CRD.parseRepo(repoURL);
// This creates a JSON stingified format. An example is provided in: "example.json"
/* OUTPUTS:
    onError: false
    onSuccess: true
/*

Parse Repository as JSON (Packages ONLY)

import * as CRD from 'cydiarepodownloader';
const repoData = await CRD.parsePackages(repoURL);
// This creates a JSON stingified format. An example is provided in: "example.json" (only the packages are saved in this mode.)
/* OUTPUTS:
    onError: false
    onSuccess: true
/*

Download Package from Repo

import * as CRD from 'cydiarepodownloader';
await CRD.downloadPackageFromRepo(repoURL,packageName, directoryToDownload+"/whatever.deb");
/* OUTPUTS:
    onError: false
    onSuccess: true
/*

Download all Packages from Repo

import * as CRD from 'cydiarepodownloader';
await CRD.downloadAllPackagesFromRepo(repoURL, directoryToDownload);
/* OUTPUTS:
    Errors: ["packagename1","packagename2"]

    (if errors are empty, you get an empty array)
/*

FAQs

Package last updated on 06 Jul 2022

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