New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sage-web

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sage-web

Web interface for a SaGe server

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

sage-web

Build Status

Generate an interactive Web interface for a SaGe SPARQL query server, similar to the one available at http://sage.univ-nantes.fr.

Installation

Requirements: Node.js v8.11 or higher

npm install -g sage-web

Usage

Use the sage-web CLI program to generate an interactive website for a SaGe server. It is divided into two subcommands, which both takes as first arguments the URL of the SaGe server.

  • The sage-web serve <url> -p <port> command start the website using a local HTTP server on the given port.
  • The sage-web compile <url> -o <output> command compile the website as static HTML into the output directory.

Additionnaly, the save-web help <cmd> command can be used to display the help for the subcommand cmd.

For example, sage-web serve http://soyez-sage.univ-nantes.fr -p 8000 launch an interactive website, similar to the one available at http://sage.univ-nantes.fr, which can be accessed at http://localhost:800.

Help for sage-web

Usage: sage-web [options] [command]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  serve <url>    Start a Web server to serve the SaGe interactive website
  compile <url>  Compile the SaGe interactive website as a static HTML website
  help [cmd]     Display help for [cmd]

Help for sage-web serve

Usage: sage-web serve <url>

Start a Web server to serve the SaGe interactive website

Options:
  -p, --port <port>  Port on which the server should listen (default: 3000)
  -h, --help         Output usage information

Help for sage-web compile

Usage: sage-web compile <url>

Compile the SaGe interactive website as static HTML

Options:
  -o, --output <output>  Output directory (default: "./build")
  -h, --help             Output usage information

Manual Installation

Requirements:

git clone https://github.com/sage-org/sage-web.git
cd sage-web
yarn install

Keywords

FAQs

Package last updated on 15 Jan 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc