npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@flowwright/provider-gitlab

v0.1.1

Published

FlowWright GitLab source-control provider adapter — OAuth install, project discovery, checkout, commit statuses via @gitbeaker.

Readme

@flowwright/provider-gitlab

The GitLab source-control adapter for FlowWright — an OAuth integration (built on @gitbeaker) that handles installation, project discovery, webhook-driven runs, commit statuses, and token-based checkout. It implements the same provider-neutral adapter contract as the GitHub provider, proving the control plane stays vendor-agnostic.

FlowWright · Server · GitHub provider

Use it

import { buildGitLabProvider } from "@flowwright/provider-gitlab";

const provider = buildGitLabProvider({
  applicationId: process.env.FW_GITLAB_APP_ID!,
  applicationSecret: process.env.FW_GITLAB_APP_SECRET!,
  webhookSecret: process.env.FW_GITLAB_WEBHOOK_SECRET!,
});

const repos = await provider.listRepositories(installationId, baseUrl);
const cred = await provider.checkoutCredential(installationId, repositoryId);
await provider.createRunStatus(/* run → commit status */);

The control plane resolves and injects the provider through the source-control registry; you rarely construct it directly outside tests.

Public surface

| Area | Main exports | |---|---| | Provider | GitLabProvider, buildGitLabProvider, GitLabProviderConfig, GitLabClient |

GitLab installs carry a per-installation OAuth token, threaded through the provider-neutral InstallationAuth seam (GitHub ignores it, GitLab refreshes and uses it). Webhooks are verified with the X-Gitlab-Token header.

Design boundary

  • Implements the source-control adapter contract against the GitLab API — interchangeable with the GitHub provider in the SCM registry.
  • Normalizes GitLab payloads into FlowWright's provider-neutral shapes; the control plane never imports @gitbeaker.
  • Checkout tokens are short-lived and redacted; no secrets are persisted here.

Development

$ pnpm --filter @flowwright/provider-gitlab typecheck
$ pnpm --filter @flowwright/provider-gitlab test
$ pnpm --filter @flowwright/provider-gitlab build

Requires Node.js 24+. Licensed under MIT.