{"id":20507308,"url":"https://github.com/brenopolanski/new-gitlab-issue-url","last_synced_at":"2026-05-07T04:43:58.542Z","repository":{"id":65457101,"uuid":"226124510","full_name":"brenopolanski/new-gitlab-issue-url","owner":"brenopolanski","description":"Generate a URL for opening a new GitLab issue with prefilled title, description, and other fields","archived":false,"fork":false,"pushed_at":"2019-12-11T18:06:54.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T11:18:58.172Z","etag":null,"topics":["gitlab","gitlab-issues","npm-package","url"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brenopolanski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-05T14:47:11.000Z","updated_at":"2019-12-12T17:35:06.000Z","dependencies_parsed_at":"2023-01-24T12:05:12.556Z","dependency_job_id":null,"html_url":"https://github.com/brenopolanski/new-gitlab-issue-url","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/brenopolanski/new-gitlab-issue-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenopolanski%2Fnew-gitlab-issue-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenopolanski%2Fnew-gitlab-issue-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenopolanski%2Fnew-gitlab-issue-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenopolanski%2Fnew-gitlab-issue-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brenopolanski","download_url":"https://codeload.github.com/brenopolanski/new-gitlab-issue-url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenopolanski%2Fnew-gitlab-issue-url/sbom","scorecard":{"id":252305,"data":{"date":"2025-08-11","repo":{"name":"github.com/brenopolanski/new-gitlab-issue-url","commit":"5c0466d5e6763c036dbdcb140c35fe1d619b3847"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T08:47:49.313Z","repository_id":65457101,"created_at":"2025-08-17T08:47:49.313Z","updated_at":"2025-08-17T08:47:49.313Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272261469,"owners_count":24902462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitlab","gitlab-issues","npm-package","url"],"created_at":"2024-11-15T20:13:21.510Z","updated_at":"2026-05-07T04:43:53.507Z","avatar_url":"https://github.com/brenopolanski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# new-gitlab-issue-url\n\n\u003e Generate a URL for opening a new GitLab issue with prefilled title, description, and other fields\n\nGitLab supports prefilling a new issue by setting certain search parameters. This package simplifies generating such URL.\n\nInspired by *@sindresorhus* [new-github-issue-url](https://github.com/sindresorhus/new-github-issue-url)\n\n## Install\n\n**Using NPM:**\n\n```\nnpm install --save new-gitlab-issue-url\n```\n\n**Using Yarn:**\n\n```\nyarn add new-gitlab-issue-url\n```\n\n## Usage\n\n```js\nconst newGitlabIssueUrl = require('new-gitlab-issue-url');\n\nconst url = newGitlabIssueUrl({\n  user: 'brenopolanski',\n  repo: 'hello-world',\n  title: 'Hi',\n  description: '\\n\\n\\n---\\nI\\'m a human. Please be nice.'\n});\n\n//=\u003e 'https://gitlab.com/brenopolanski/hello-world/issues/new?issue[title]=Hi\u0026issue[description]=%0A%0A%0A---%0AI%27m+a+human.+Please+be+nice.'\n```\n\n[Try the URL](https://gitlab.com/brenopolanski/hello-world/issues/new?issue[title]=Hi\u0026issue[description]=%0A%0A%0A---%0AI%27m+a+human.+Please+be+nice.)\u003cbr\u003e*(Don't click the \"Submit issue\" button!)*\n\n## API\n\n### newGitlabIssueUrl(options)\n\nReturns a URL string.\n\n#### options\n\nType: `object`\n\nYou are required to either specify the `repoUrl` option or both the `user` and `repo` options.\n\n##### repoUrl\n\nType: `string`\n\nThe full URL to the repo.\n\n##### user\n\nType: `string`\n\nGitLab username or organization.\n\n##### repo\n\nType: `string`\n\nGitLab repo.\n\n##### title\n\nType: `string`\n\nThe issue title.\n\n##### description\n\nType: `string`\n\nThe issue description.\n\n##### template\n\nType: `string`\n\nUse an [issue template](https://gitlab.com/help/user/project/description_templates#description-templates).\n\nFor example, if you want to use a template at `.gitlab/issue_templates/Bug.md`, you would specify `Bug` here.\n\n## License\n\n[MIT License](https://brenopolanski.mit-license.org) © Breno Polanski\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenopolanski%2Fnew-gitlab-issue-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrenopolanski%2Fnew-gitlab-issue-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenopolanski%2Fnew-gitlab-issue-url/lists"}