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

@apistash/cli

v0.0.1-alpha.3

Published

### Manage your specifications on the command line. This is a tool to manage your specifications (OAS, GRPC, graphQL, trpc,....) from the command line. Use it while your developing a app or in your CI/CD to integrate APIs from another peer.

Downloads

1

Readme

apistash.io

Manage your specifications on the command line.

This is a tool to manage your specifications (OAS, GRPC, graphQL, trpc,....) from the command line. Use it while your developing a app or in your CI/CD to integrate APIs from another peer.

Index

Description

A command line tool to interaction with the platform.
Download your specifications while managing your dependencies or uploading
your specifications while working with CI/CD.

It doesn't matter if your specification is GRPC, OAS, graphQL or even trpc:
We got you covered.

If you want to hear more about our missing take a look at our website

Why apistash ?

Even if there are several services already there, they lack an important part of api communication: "The only thing that is constant is change." ~ Heraclitus

Often you have to deal with different kind of apis and technics.
apistash provides a management where it doesn't matter what kind of specification you have. Create a client from a grapQL schema, OAS or trpc types. Focus on your business instead of the one of others.

Installation

You have several options to install the command line tools

Package manager

Install the command line tool with a package manager like npm, yarn, ...

yarn install -D @apistash/cli

Releases

Download an executable of a release specific to your needs. The following operating systems and architectures are supported:

  • linux (arm64, x64)
  • macos (x64)
  • win (x64)

Go to the releases page for further information

Build

Requirements

  • node16
  1. To build your client on your own clone the repository.

  2. Install your dependencies

    yarn
  3. Update types from apistash

    yarn update:types
  4. Compile the code

    yarn build
  5. Bundle the code into executable

    yarn package

Getting started

To get started install the command line tool via package-manager, executable or build on your own. It is required to create an access token for interaction with the api. In the next steps we will show you where to create it.

Create token

A token can be created on the platform at api-keys. Keep the token secret, otherwise you risk that someone can interact in your name. Use the token afterwards in the next commands.

Upload specification

To upload a specification you can type the following:

apistash-cli upload /path/to/file \
    --apiName "Example Api" \
    --semver "1.0.0" \
    --token TOKEN 

Download specification

To download a specification you can type the following:

apistash-cli download \
    --apiName "Example Api"
    -s 0.0.1
    --token TOKEN
    [--outputPath /path/to/output]
    [--outputName filename]

Documentation

The documentation is hosted on the website under Documentation .

Contribution

Contribution is welcome, create a PR while respecting the contribution guidelines.

Changelog

Changelog can be found at changelog.

License

MIT