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

vrchat-activity-viewer

v7.2.0

Published

VRChat log viewer

Downloads

13

Readme

JP README

VRChat Activity Viewer

This is a node.js command line tool with the ability to save and view VRChat log information. It provides functions for retrieving, saving, and viewing key log information from log files, as well as type definitions.

Old Github Packages @kamakiri01/vrchat-activity-viewer is Deprecated. Use vrchat-activity-viewer from npm(npmjs).

Usage

CLI

$ va --filter myFriendName --range 24h
2021-1-1 00:00:00 join myFriendName
2021-1-1 00:00:05 leave myFriendName
2021-1-2 00:00:00 join myFriendName
2021-1-2 00:00:05 leave myFriendName

TypeScript / JavaScript

import { findLatestVRChatLogFullPath, parseVRChatLog } from "vrchat-activity-viewer";
const filePath = findLatestVRChatLogFullPath();
const latestLog = parseVRChatLog(
    fs.readFileSync(path.resolve(filePath), "utf8"), false); // you can get ActivityLog[]

Install

$ npm install vrchat-activity-viewer

To install globally as a va command,

$ npm install -g vrchat-activity-viewer

Run

$ ./bin/run

When installed globally,

$ va

The first time you run it, it will generate ~/.vrchatActivityViewer/db.json in your home directory.

Options

  • -f --filter <words...>: filter result with ignore case words. when specify space separeted words, use "or" matching
  • -cf --case-filter: use case sensitive filter
  • -V --verbose: display full result details
  • -r --range <year/month/week/day/hour>: specify show range to display (default: "24h")(ex: 1y, 2m, 3w, 4d, 5h)
  • -w --watch <sec>: update db repeatedly
  • -v --version: output the current version
  • -h --help: display help for command

Note

The specifications of the VRChat log file have not been publicly defined. Therefore, the execution results of this module may change or stop working at unexpected times.