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

@gewis/planka-client

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gewis/planka-client

![npm version](https://img.shields.io/npm/v/@gewis/planka-client) ![License](https://img.shields.io/github/license/GEWIS/planka-client) ![Build Status](https://img.shields.io/github/actions/workflow/status/GEWIS/planka-client/lint-and-build.yaml)

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

🚀 Planka Client

npm version License Build Status

A simple client for Planka generated from its OpenAPI specification using openapi-ts.

See PlankAPI for an implementation using this client.

Installation

Add the following dependency to your package.json:

npm install @gewis/planka-client

or using Yarn:

yarn add @gewis/planka-client

📦 Usage

Import the desired service and call the required endpoint. Check out Heyapi for more details.

import { client, authorize } from '@gewis/planka-client';

client.setConfig({
  baseUrl: 'https://example.com',
});

/** Fetch access token with `authorize` or `authorizeOidc` */
const accessToken = authorize(...);

client.setConfig({
  baseUrl: 'https://example.com',
  headers: {
    Authorization: `Bearer ${accessToken}`
  }
});

🧪 Testing

  • Start Planka with:
docker compose up -d
  • Run tests:
yarn test

📄 License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

🌟 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

FAQs

Package last updated on 17 Feb 2025

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