New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-gitea-api

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gitea-api

Node Typescript client for gitea-api

latest
Source
npmnpm
Version
1.22.2-1
Version published
Weekly downloads
2
-50%
Maintainers
0
Weekly downloads
 
Created
Source

gitea-api

Gitea API client for Node.

Generated with GitHub - ferdikoomen/openapi-typescript-codegen: NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification.

I will try to keep the package up to date with new released versions.

To install

npm i gitea-api

To use

import { GiteaApi } from "gitea-api";

const client = new GiteaApi({
    BASE: 'https://gitea.domain.com',
    WITH_CREDENTIALS: true,
    TOKEN: ""
});

Development

Generated with (from repo folder):

cd ..
npm --global i openapi-typescript-codegen
openapi -c fetch -o ./gitea-api/ -i {gitea-url}/swagger.v1.json --name="GiteaApi" --useOptions --client node

Keywords

fetch

FAQs

Package last updated on 30 Sep 2024

Did you know?

Socket

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.

Install

Related posts