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

tinyspec-cloud

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinyspec-cloud

A CLI for Tinyspec Cloud deployment

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Tinyspec Cloud CLI

tinyspec-cloud

NPM version

This CLI allows you to deploy your OpenAPI specification to Tinyspec Cloud and then access its auto-generated versions in different formats (HTML, PDF, YAML, JSON).

Demo

https://wearable-coach.tinyspec.cloud/dev

Quick Start

npm i -g tinyspec-cloud

tinyspec-cloud --name my-project

Result example:

🎉 Congratulations!

Your project my-project is created in Tinyspec Cloud.

In a couple of minutes it will be published to these URLs:

https://my-project.tinyspec.cloud
https://my-project.tinyspec.cloud/index.pdf
https://my-project.tinyspec.cloud/openapi.yaml
https://my-project.tinyspec.cloud/openapi.json
https://my-project.tinyspec.cloud/build.log

Please store your access key: XkRTlERUICxnaATXBAH4E9oTwlvD.

If you lose your key, you won't be able to publish updates to your project.

Usage

Options:
  --name    | -n  Project Name (required)
  --version | -v  Project Version
  --key     | -k  Project Secret Key (required for subsequent calls)
  --source  | -s  Source OpenAPI specification file in YAML or JSON format [default: "openapi.yaml"]
  --help    | -h  Show help

You can also set the same options using environment variables prefixed by TINYSPEC_ or in a config file tinyspec.json located in a directory where you run tinyspec-cloud.

More info:

Keywords

api

FAQs

Package last updated on 19 May 2021

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