npm.io
6.0.0 • Published 2 years agoCLI

@agreed/ui

Licence
MIT
Version
6.0.0
Deps
9
Size
1.4 MB
Vulns
7
Weekly
0
Stars
215

Agreed UI

UI for Agreed

ScreenShot

Install

$ npm install agreed-ui --save-dev

Usage

$ agreed-ui --path ./test/agreed.json --port 3000

Serve with Express Open http://localhost:3000 to view it in the browser.

$ agreed-ui build --path ./test/agreed.json --dest ./build

Builds the app for static-hosting to the build folder

Features

Set title and description to contract

{
  title: 'get store information',
  description: 'get store information',
  request: {
    ...
  },
  response: {
    ...
  }
}

title and descripion will be displayed at naviation and each section's title

Development

npm run start:dev -- --path=./test/agrees/agrees.js

Keywords