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

node-sage

v0.1.5

Published

An HTTP service architecture for scientific data

Downloads

6

Readme

Sage

Version 0.1.4

A REST service architecture for scientific data.

Build Status

##External Dependencies The following tools need to be installed separately (e.g., with Homebrew) before Sage and its dependencies can be installed:

##Overview Sage is equipped with a command-line tool, quaintly named sage, to manage the project. It can be used to install dependencies, start Sage and it services, monitor Sage, and shut it down.

To use the tool, run:

source sage.env

##Installation To install Sage, along with its dependencies, run:

sage install

To check the installation, and execute project tests, run:

sage check

To install example data used by the demo, run:

sage examples

##Configuration Sage services are configured in a simple configuration file in conf/services.json listing an HTTP port, the name of the service, the Node.js control file, and a configuration file. A sample services configuration is available at conf/services-sample.json. To get started:

cp conf/services-sample.json conf/services.json

##Running Sage To start Sage, run:

sage start

All the services configured in conf/services.json are started. Their process IDs and network ports are listed.

To stop Sage, run:

sage stop

To restart Sage, run:

sage restart

To determine whether Sage and its services are running, run:

sage status

Each of the above management commands can be run on individual services by supplying the service name as an argument:

sage {start,stop,restart,status} <service-name>

##More Help

API documentation for the library

The sage startup script has a general and command-specific help facility. To find out more about it, run:

sage help [<command>]

##Coding Style and Conventions TODO

##Changelog

####v0.1.4

  • Bug fixes

####v0.1.3

  • Service events.
  • Lists can show specific resource properties.

####v0.1.2

  • Handling URL templates for resource fetching.
  • Bugs zapped.

####v0.1.1

  • XML responses
  • Collection schema use associated resource schema

####v0.1.0

  • Services
    • Logging with Bunyan
  • Service Registry
    • Registry proxies for remote services.
    • Service#registry promises to be resolved when registry pings.
  • Resources and Collections
    • Resources and collections can be associated with services.
    • Services provide default routes and responses.
    • Services can fetch collections and resources from remote endpoints.
    • Resources can override parsing data from remote endpoints.
    • Collections act as native Arrays.
  • Sage class exposes Service, Resource, and Registry.