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

sage-web

v1.0.0

Published

Web interface for a SaGe server

Downloads

2

Readme

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