![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
gitlab-stats
Advanced tools
Gitlab Stats provides more [GitLab](https://gitlab.com/gitlab-org/gitlab/) statistics from the [GitLab API](https://gitlab.com/gitlab-org/gitlab/tree/master/doc/api) services. Gitlab Stats API is making use of the [gitlab](https://github.com/jdalrymple/gi
Gitlab Stats provides more GitLab statistics from the GitLab API services. Gitlab Stats API is making use of the gitlab NPM package is heavily inspired by its API.
# Install as CLI tool
npm i -g gitlab-stats
# Install as node dependency
npm i gitlab-stats
All the CLI commands have the following structure.
gitlab-stats [service name] [method name] --arg1 --arg2 --arg3
Where service name
is any of the supported API names, method name
is any of the supported commands on that API service. --arg1
are any of the arguments you can supply to the function.
gitlab-stats users growth --interval month --output csv > user-growth.csv
In order to use the CLI tool, you will need to have the following environment variables
GITLAB_TOKEN=<YOUR_TOKEN>
# Optional
GITLAB_HOST=<YOUR_HOSt> # e.g. https://gitlab.website.com
This could be set globally or using a .env file in the project folder.
The functionalities of the CLI can be imported into your Node.js or web project.
import { Gitlab } from "gitlab";
import { GitlabStats } from "gitlab-stats";
const gitlab = new Gitlab({
host: "http://example.com",
token: "personaltoken"
});
const gitlabStats = new GitlabStats({
gitlab
});
gitlabStats.Users.growth({ interval: "month" })
.then(console.log)
.catch(console.error);
The APIs which are currently supported are:
FAQs
Gitlab Stats provides more [GitLab](https://gitlab.com/gitlab-org/gitlab/) statistics from the [GitLab API](https://gitlab.com/gitlab-org/gitlab/tree/master/doc/api) services. Gitlab Stats API is making use of the [gitlab](https://github.com/jdalrymple/gi
The npm package gitlab-stats receives a total of 0 weekly downloads. As such, gitlab-stats popularity was classified as not popular.
We found that gitlab-stats 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.