All Projects → sindresorhus → New Github Release Url

sindresorhus / New Github Release Url

Licence: mit
Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to New Github Release Url

Query String
Parse and stringify URL query strings
Stars: ✭ 5,781 (+5567.65%)
Mutual labels:  url, npm-package
New Github Issue Url
Generate a URL for opening a new GitHub issue with prefilled title, body, and other fields
Stars: ✭ 170 (+66.67%)
Mutual labels:  url, npm-package
Use Query Params
React Hook for managing state in URL query parameters with easy serialization.
Stars: ✭ 1,278 (+1152.94%)
Mutual labels:  url
All Keys
Get all property keys of an object including non-enumerable and inherited ones
Stars: ✭ 100 (-1.96%)
Mutual labels:  npm-package
Dyn365 Ce Vsts Tasks
VSTS Extension for Dynamics 365 Customer Engagement
Stars: ✭ 94 (-7.84%)
Mutual labels:  release-automation
React Native Get Sms Android
React Native module to get messages on an Android device
Stars: ✭ 89 (-12.75%)
Mutual labels:  npm-package
Urlcat
A URL builder library for JavaScript.
Stars: ✭ 1,334 (+1207.84%)
Mutual labels:  url
Libvmod Querystring
Query-string module for Varnish Cache
Stars: ✭ 85 (-16.67%)
Mutual labels:  url
Pd Select
vue components ,like ios 3D picker style,vue 3d 选择器组件,3D滚轮
Stars: ✭ 101 (-0.98%)
Mutual labels:  npm-package
Angular File Uploader
Angular file uploader is an Angular 2/4/5/6/7/8/9/10 + file uploader module with Real-Time Progress Bar, Responsive design, Angular Universal Compatibility, localization and multiple themes which includes Drag and Drop and much more.
Stars: ✭ 92 (-9.8%)
Mutual labels:  npm-package
Airtap
Run TAP unit tests in 1789+ browsers.
Stars: ✭ 1,364 (+1237.25%)
Mutual labels:  npm-package
Ngx Api Utils
ngx-api-utils is a lean library of utilities and helpers to quickly integrate any HTTP API (REST, Ajax, and any other) with Angular.
Stars: ✭ 92 (-9.8%)
Mutual labels:  npm-package
Rollup Plugin Chrome Extension
A feature-rich solution for bundled Chrome extensions! 💯
Stars: ✭ 89 (-12.75%)
Mutual labels:  npm-package
Tplink Cloud Api
A node.js npm module to remotely control TP-Link smartplugs (HS100, HS110) and smartbulbs (LB100, LB110, LB120, LB130) using their cloud web service (no need to be on the same wifi/lan)
Stars: ✭ 96 (-5.88%)
Mutual labels:  npm-package
Forge Node App
🛠📦🎉 Generate Node.js boilerplate with optional libraries & tools
Stars: ✭ 90 (-11.76%)
Mutual labels:  npm-package
Node Sonic Channel
🦉 Sonic Channel integration for Node. Used in pair with Sonic, the fast, lightweight and schema-less search backend.
Stars: ✭ 101 (-0.98%)
Mutual labels:  npm-package
Prestashop Clean Urls
Prestashop module. This override module allows to remove IDs from URLs
Stars: ✭ 87 (-14.71%)
Mutual labels:  url
Got
🌐 Human-friendly and powerful HTTP request library for Node.js
Stars: ✭ 10,620 (+10311.76%)
Mutual labels:  npm-package
Vue Csv Import
Vue.js component to select a CSV file, map the columns to fields, and post it somewhere.
Stars: ✭ 95 (-6.86%)
Mutual labels:  npm-package
Pageres Cli
Capture website screenshots
Stars: ✭ 1,378 (+1250.98%)
Mutual labels:  npm-package

new-github-release-url Build Status

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.

Install

$ npm install new-github-release-url

Usage

const newGithubReleaseUrl = require('new-github-release-url');
const open = require('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
open(url);

API

newGithubReleaseUrl(options)

Returns a URL string.

options

Type: object

You are required to either specify the repoUrl option or both the user and repo options.

repoUrl

Type: string

The full URL to the repo.

user

Type: string

GitHub username or organization.

repo

Type: string

GitHub repo.

tag

Type: string

The tag name of the release.

target

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.

title

Type: string

The title of the release.

GitHub shows the tag name when not specified.

body

Type: string

The description text of the release.

isPrerelease

Type: boolean
Default: false

Whether the release should be marked as a pre-release.

Related

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

License

MIT © Sindre Sorhus

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].