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

xgraph

v1.5.8

Published

An Executable Graph Database

Downloads

57

Readme

xGraph

Travis branch Greenkeeper badge npm npm

Introspective Systems, LLC.


The xGraph package comes with two main features: the xGraph core and the xGraph Command Line Interface (CLI). The xGraph core architecture handles compiling, starting and communicating between xGraph systems. The xGraph CLI makes it easy to interact with xGraph systems. You can easily install xGraph using the npm package installer.

Getting Started with npm

To install xGraph directly form npm, you will need the node package manager. Once you have installed npm, you can install xGraph using the package manager.

In your command line tool, use the following command to install xGraph core globally using the npm package installer.

npm install -g xgraph

If you are on a unix operating system, such as macOS or Ubuntu, you may have to use the sudo prefix.

sudo npm install -g xgraph

xGraph Command Line Interface (CLI)

The xGraph command line interface accelerates the building and running of xGraph Systems. Using the xGraph CLI, you can generate new modules and systems, compile systems from a system structure object, and run systems from a system cache.

xGraph uses the following API commands, available in the xGraph CLI using xgraph help

Compile and Run xGraph systems with a few simple commands.

Unless otherwise specified, commands will look in the current working
directory for a config.json file or cache directory, depending on the
command.

If the system includes local module sources, these must be listed after
the command and options, [--source directory ...].

xGraph

Usage: xgraph [command] [options] [--source directory ...]

Command:
  help         h                    : Displays this help screen.

  compile      c                    : Generates a cache from a system
                                      structure file (config.json).

  deploy       d                    : Run a system from the cache.

  reset        r                    : Run a system from system structure
                                      file, resetting the system's cache.

  execute      x                    : Run a system from the cache or compile
                                      and run the system if the cache does
                                      not exist.

  generate <module|system>  g <m|s> : Generate a new module or system
                                      from a template with the given
                                      name.

Options:
  --cwd                             : Sets the current working directory
                                      for the command.
  --config                          : Specifies a system's structure file.
  --cache                           : Specifies a system's cache directory.
  --allow-add-module                : Enable a module to add new modules
                                      in memory to the Module cache.
  --loglevelsilent      --silent    : Block all logs from appearing in the
                                      console window. Logs will still be
                                      printed to the log file.
  --loglevelverbose     --verbose   : Allows verbose logs to be printed to
                                      the console window.
  --logleveldebug                   : Allows the verbose logs and the debug
                                      logs to be printed to the console window.

Examples:
  Compile the system (config.json) in the current directory.
      xgraph compile

  Deploy a module from a system structure file.
      xgraph deploy --config ./ExampleSystems/HelloWorld/config.json

  Reset a system in a different working directory with an external source.
      xgraph reset --cwd ./MultipleSystemsTemplate/Systems/Plexus/ --xGraph ../xGraph

  Generate a new module called MyFirstModule.
      xgraph generate module MyFirstModule

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.

License

This software is licensesd under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3.
Please contact us at [email protected] if you are interested in pursuing one of our Enterprise licenses.