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

rio-express

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rio-express

Automatic Express API README generator

latest
Source
npmnpm
Version
1.0.18
Version published
Maintainers
1
Created
Source

Rio

Automatic Express API argument checker and README generator

Actions Status Actions Status codecov tested with jest

Summary

Rio has two main purposes:

  • It allows you to specify arguments for an endpoint and automatically checks for them calling the endpoint.
  • Automatically generates an API README of those endpoints.

Usage

Checkout the usage README to see how to add Rio to an existing Express API.

The Rio CLI

Installation Guide

Install CLI with:

npm i -g ./

Using the CLI to generate a README

Use the CLI command to generate API docs with:

rio init <path-to-api.js>

Omitting the path will default it to ./api.js

Autogenerated API Docs

You can view an example of an autogenerated API README here and the corresponding server code is available here.

FAQs

Package last updated on 03 Jan 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