Package Exports
- jwz
- jwz/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jwz) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Function
GitHub
buildGitHubRepo
usageimport { buildGitHubRepo } from 'jwz'; /* @param org = String @param repo = String @param vis = String @param token = String */ const org = 'your-org-name'; var repo = 'your-repo-name'; const token = 'your-token'; var vis = 'public'; const res = await buildGitHubRepo(org, repo, vis, token); console.log(res);
inviteGitHubCollaborators
usageimport { inviteGitHubCollaborators } from "jwz"; /* @param org = String @param repo = String @param collaborators = array @param token = String */ const org = 'your-org-name'; var repo = 'your-repo-name'; var collaborators = ['collaboratorA', 'collaboratorB'] const token = 'your-token'; inviteGitHubCollaborators(org, repo, collaborators, token);note- when code is running it will have output of result