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

jwz

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwz

Utils

  • 1.6.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
50
increased by1150%
Maintainers
1
Weekly downloads
 
Created
Source

license version

Open Collective

Function

GitHub

buildGitHubRepos
  • usage
/*
    @param org = String
    @param repo = String
    @param vis = String
    @param token = String
*/
const buildGitHubRepos = require('jwz');

const org = 'your-org-name';
var repos = ['your-repoA', 'your-repoB'];
var vis = 'public';
const token = 'your-token';

const res = await buildGitHubRepos(org, repos, vis, token);

console.log(res);

deleteGitHubRepos

  • usage
/*
    @param org = String
    @param repos = Array
    @param token = String
*/
const deleteGitHubRepos = require('jwz');

const org = 'your-org-name';
var repos = ['your-repoA', 'your-repoB'];
const token = 'your-token';

deleteGitHubRepos(org, repos, token)

inviteGitHubReposCollaborators

  • usage
/*
    @param org = String
    @param repos = Array
    @param arrays = Two dimension array
    @param token = String
*/
const inviteGitHubReposCollaborators = require('jwz');

const org = 'your-org-name';
var repo = ['your-repoA', 'your-repoB'];
var arrays = [['collaboratorA', 'collaboratorB'], ['collaboratorC', 'collaboratorD']]
const token = 'your-token';

inviteGitHubReposCollaborators(org, repos, arrays, token);
  • note
    • when code is running it will have output of result

removeGitHubReposCollaborators

  • usage
/*
    @param org = String
    @param repos = Array
    @param arrays = Two dimension array
    @param token = String
*/
const removeGitHubReposCollaborators = require('jwz');

const org = 'your-org-name';
var repo = ['your-repoA', 'your-repoB'];
var arrays = [['collaboratorA', 'collaboratorB'], ['collaboratorC', 'collaboratorD']]
const token = 'your-token';

removeGitHubReposCollaborators(org, repos, arrays, token);

getGitHubReleaseVersion

  • usage
/* 
    @param org = String
    @param repo = String
    @param version = String
*/
const getGitHubReleaseVersion = require('jwz');

const org = 'org-name';
const repo = 'repo-name';
const version = 'version'

const release = await getGitHubReleaseVersion(org, repo, version);

console.log(`Release Name: ${release.releaseName}`);
console.log(`Release Tag: ${release.releaseTag}`);
console.log(`Release URL: ${release.releaseURL}`);
  • note
    • return releaseName releaseTag releaseURL
    • This is for public organization repository

Keywords

FAQs

Package last updated on 25 Dec 2023

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