Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
new-github-release-url
Advanced tools
Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields
Weekly downloads
Readme
Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields
GitHub supports prefilling a new release by setting certain search parameters. This package simplifies generating such URL.
$ npm install new-github-release-url
import newGithubReleaseUrl from 'new-github-release-url';
import open from 'open';
const url = newGithubReleaseUrl({
user: 'sindresorhus',
repo: 'new-github-release-url',
body: '\n\n\n---\nI\'m a human. Please be nice.'
});
//=> 'https://github.com/sindresorhus/new-github-release-url/releases/new?body=%0A%0A%0A---%0AI%27m+a+human.+Please+be+nice.'
// Then open it
await open(url);
Returns a URL string.
Type: object
You are required to either specify the repoUrl
option or both the user
and repo
options.
Type: string
The full URL to the repo.
Type: string
GitHub username or organization.
Type: string
GitHub repo.
Type: string
The tag name of the release.
Type: string
Default: The default branch
The branch name or commit SHA to point the release's tag at, if the tag doesn't already exist.
Type: string
The title of the release.
GitHub shows the tag
name when not specified.
Type: string
The description text of the release.
Type: boolean
Default: false
Whether the release should be marked as a pre-release.
FAQs
Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields
The npm package new-github-release-url receives a total of 297,762 weekly downloads. As such, new-github-release-url popularity was classified as popular.
We found that new-github-release-url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.