New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openapi-clientlib

Package Overview
Dependencies
Maintainers
4
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-clientlib

[![Quality-Checks](https://github.com/SaxoBank/openapi-clientlib-js/actions/workflows/quality-checks.yml/badge.svg?branch=master)](https://github.com/SaxoBank/openapi-clientlib-js/actions/workflows/quality-checks.yml)

  • 11.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-94.37%
Maintainers
4
Weekly downloads
 
Created
Source

OpenAPI Client Library

Quality-Checks

The OpenApi Client Library a JavaScript library for, among other things, consuming OpenAPI endpoints. The library implements all details regarding security, handshake, heartbeat, endpoint data contracts, subscriptions and batching. It also has hooks for custom conversion of data and mocked data as well as a bunch of utility functions.

Installing

NPM

npm install openapi-clientlib

YARN

yarn add openapi-clientlib

Building the library

  1. Clone the repo
    git clone https://github.com/saxobank/openapi-clientlib-js
  2. Install Node Modules
    npm install
  3. Run tasks npm run build build distribution
    npm run check check lint/prettier errors and run unit tests

Publishing

npm version patch | minor | major -m "Upgrade to %s for reasons" npm publish

Consuming the library

The source code of the library is not compiled to any specific ES version. You need to include this library in your build setup and, depending on your app requirements, compile it to any ES version you want.

External dependencies

The library requires below dependencies to be provided in environment where it will be used.

DependencyVersionDetails & URL
SignalR2.0.3Signal-R can be downloaded from https://github.com/SignalR/SignalR/releases/tag/2.0.3.
jQuery>1.11We do not depend on jQuery, but SignalR does. You can use any version of jquery that SignalR supports.
TextDecoderTextDecoder is used to decode utf8 JSON string payload for plain websocket transport.
It will fallback to SignalR if TextDecoder is not available in the environment
protobufjs6.10.2Required only if you will use protobuf parser
@types/signalr2.2.36TypeScript projects only - provides types definition for the lib
@microsoft/signalr5.0.4TypeScript projects only - provides types definition for the lib

Documentation

Please check doc comments in the source code for additional information.

Contributing

You want to contribute? Great! Have a look at our contribution guidelines.

FAQs

Package last updated on 28 Oct 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc