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

loom-data-visualizer

v0.0.3

Published

Data Visualization Engine for LLMs

Downloads

23

Readme

This documentation will be in Markdown format and can be used to guide users through the installation, setup, and usage of the project.


Loom Data Visualizer Engine

Overview

Loom is a comprehensive data visualization engine designed to simplify the process of visualizing large datasets using D3.js. It consists of three main components:

  1. Loom Library: A powerful npm library for data processing and visualization.
  2. Backend: A robust implementation of data engineering that processes data for visualization with D3.js.
  3. Frontend: A GitHub Actions-driven implementation using JavaScript, CSS, and HTML, hosted on GitHub for dataset storage and on Netlify for UI.

Additionally, Loom provides downloadable versions of the frontend for various platforms, including macOS (.dmg), Windows (.exe), and Ubuntu (.deb).

Table of Contents

Installation

Loom Library

The Loom library can be installed via npm:

npm install loom-data-visualizer

Backend

Clone the backend repository and install the required dependencies:

git clone https://github.com/nturing/loom.git
cd loom
npm install

Usage

Using the Loom Library

Import the Loom library into your project and start using it for data processing and visualization:

const loom = require('loom');

// Example usage
const data = loom.processData(rawData);
loom.visualizeData(data);

Setting Up the Backend

To start the backend server:

node server.js

Configure the backend by editing the config.js file to suit your needs.

Deploying the Frontend

Hosting on Netlify

  1. Connect your GitHub repository to Netlify:

    • Log in to Netlify and create a new site.
    • Connect your site to the GitHub repository.
  2. Configure build settings:

    • Build command: npm run build
    • Publish directory: dist
  3. Deploy the site.

Downloadable Versions

  • macOS (.dmg): Download from the release section on GitHub.
  • Windows (.exe): Download from the release section on GitHub.
  • Ubuntu (.deb): Download from the release section on GitHub.

Self-Hosting

Requirements

  • Node.js
  • npm
  • Git
  • Netlify account (for frontend hosting)

Provisioning

  1. Clone the repositories:

    git clone https://github.com/nturing/loom.git
  2. Install dependencies:

    cd backend
    npm install
    cd ../frontend
    npm install
  3. Configure and start the backend:

    cd backend
    node server.js
  4. Deploy the frontend on Netlify or serve it locally:

    cd frontend
    npm run build

    Host the dist directory on your preferred web server.

One-Click Deployment

AWS

Click the button below to deploy to AWS:

Launch Stack

Azure

Click the button below to deploy to Azure:

Deploy to Azure

DigitalOcean

Click the button below to deploy to DigitalOcean:

Deploy to DigitalOcean

Google Cloud Platform

Click the button below to deploy to Google Cloud Platform:

Deploy to GCP

Datasets

Gutenberg Data

vicgalle Dataset

Contributing

We welcome contributions from the community! Please read our contributing guidelines for more information on how to get started.

References

Vicgalle

A huge thank you to Victor Gallego https://huggingface.co/vicgalle for creating and sharing the Alpaca GPT-4 Dataset. Your contributions to the open-source community are invaluable and greatly appreciated.

GitHub

Gutenberg

Special thanks to Project Gutenberg for their incredible Gutenberg Dataset https://raw.githubusercontent.com/nturing/loom/main/data/bow/gutenberg_metadata.csv. Your efforts in making literature freely accessible to everyone are truly commendable.

License

Loom is licensed under the Apache-2.0.


This documentation provides a clear and concise guide for users to install, set up, and use the Loom data visualizer engine. By following these steps, users can provision the software themselves and leverage its powerful data visualization capabilities.