
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@gitlab/codeowners
Advanced tools
A GitLab CodeOwners parser for Node.js, written in TypeScript.
It aims to implement all documented features of the format, but it's not quite there yet. Consider this alpha-quality software for now!
npm install @gitlab/codeowners
import { parse } from '@gitlab/codeowners';
const codeowners = await parse('./CODEOWNERS');
const owners = codeowners.getOwners('README.md'); // ['@user', '@group']
const ownersDetailed = codeowners.getOwnersDetailed('README.md'); /* =>
[{
owner: '@user',
type: 'directOwner',
section: 'codeowners',
optional: true,
approvalsNeeded: 1,
},{
owner: '@group',
type: 'defaultOwner',
section: 'Maintainers',
optional: false,
approvalsNeeded: 5,
}]
*/
This project will use semantic versioning. Particularly, note item 4:
Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
This project will reach 1.0.0 once it supports all features documented by GitLab.
This is not yet a complete implementation of a GitLab CODEOWNERS parser. Here's a non-exhaustive list of things where are not implemented/supported:
0.2.7
FAQs
Parse GitLab CODEOWNERS files
The npm package @gitlab/codeowners receives a total of 3,469 weekly downloads. As such, @gitlab/codeowners popularity was classified as popular.
We found that @gitlab/codeowners demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.