npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

openapi-clientlib

v11.1.0

Published

[![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)

Downloads

55

Readme

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.

| Dependency | Version | Details & URL | | ------------------ | ------- | ------------------------------------------------------------------------------------------------------ | | SignalR | 2.0.3 | Signal-R can be downloaded from https://github.com/SignalR/SignalR/releases/tag/2.0.3. | | jQuery | >1.11 | We do not depend on jQuery, but SignalR does. You can use any version of jquery that SignalR supports. | | TextDecoder | | TextDecoder 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 | | protobufjs | 6.10.2 | Required only if you will use protobuf parser | | @types/signalr | 2.2.36 | TypeScript projects only - provides types definition for the lib | | @microsoft/signalr | 5.0.4 | TypeScript 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.