🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

new-github-issue-url

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

new-github-issue-url

Generate a URL for opening a new GitHub issue with prefilled title, body, and other fields

1.1.0
latest
Source
npm
Version published
Weekly downloads
244K
7.65%
Maintainers
0
Weekly downloads
 
Created

What is new-github-issue-url?

The new-github-issue-url npm package allows you to easily generate URLs for creating new GitHub issues with pre-filled information such as title, body, labels, and more. This can be particularly useful for creating issue templates or automating issue creation in various workflows.

What are new-github-issue-url's main functionalities?

Generate a basic issue URL

This feature allows you to generate a basic URL for creating a new GitHub issue with a pre-filled title and body.

const newGithubIssueUrl = require('new-github-issue-url');

const url = newGithubIssueUrl({
  user: 'username',
  repo: 'repository',
  title: 'Issue title',
  body: 'Issue description'
});

console.log(url);

Generate an issue URL with labels

This feature allows you to generate a URL for creating a new GitHub issue with pre-filled labels.

const newGithubIssueUrl = require('new-github-issue-url');

const url = newGithubIssueUrl({
  user: 'username',
  repo: 'repository',
  title: 'Issue title',
  body: 'Issue description',
  labels: ['bug', 'help wanted']
});

console.log(url);

Generate an issue URL with assignees

This feature allows you to generate a URL for creating a new GitHub issue with pre-filled assignees.

const newGithubIssueUrl = require('new-github-issue-url');

const url = newGithubIssueUrl({
  user: 'username',
  repo: 'repository',
  title: 'Issue title',
  body: 'Issue description',
  assignees: ['assignee1', 'assignee2']
});

console.log(url);

Other packages similar to new-github-issue-url

Keywords

github

FAQs

Package last updated on 09 Mar 2025

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