
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
[](https://www.npmjs.com/package/forgejo-js) [](https://www.npmjs.com/package/forgejo-js/) [ to make requests. For node you can use cross-fetch to polyfill the Fetch Api.
For Gitea you can use gitea-js.
The major and minor version of this library is mapped to the version of the Forgejo api. The patch version of this library is incremented for every release and uses the latest patch version of Forgejo.
| Forgejo-js | Forgejo |
|---|---|
| 11.0.x | 11.0 |
| 9.0.x | 9.0 |
import { forgejoApi } from 'forgejo-js';
const api = forgejoApi('https://codeberg.org/', {
token: 'access-token', // generate one at https://forgejo.example.com/user/settings/applications
});
const repo = api.repos.repoGet('anbraten', 'forgejo-js');
console.log(repo);
const { forgejoApi } = require('forgejo-js');
const fetch = require('cross-fetch'); // You have to use a fetch compatible polyfill like cross-fetch for older Node.JS versions
const api = forgejoApi('https://codeberg.org/', {
token: 'access-token', // generate one at https://forgejo.example.com/user/settings/applications
customFetch: fetch,
});
const repo = api.repos.repoGet('anbraten', 'forgejo-js');
console.log(repo);
FAQs
[](https://www.npmjs.com/package/forgejo-js) [](https://www.npmjs.com/package/forgejo-js/) [
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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.