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 🙏

© 2025 – Pkg Stats / Ryan Hefner

com.rwth.unity.omilaxr.xapi4unity

v2.2.3

Published

This is an package with has editor tools to use work with xAPI definitions more easy. Developers can design xAPI definitions and transform them directly to C# code.

Readme

xAPI4Unity

xAPI4Unity is a Unity package designed to bridge xAPI functionalities into Unity projects conveniently. It enables seamless integration of xAPI JSON definitions and transforms them into C# scripts you can use in your applications. This tool provides support for xAPI registry handling, editor tools, and watcher-based transformations.


Key Features

  • Transform xAPI JSON definitions into C# scripts directly in Unity.
  • Built-in JSON watcher to auto-reflect changes (optional).
  • Fetch and manage xAPI definitions from local or Git repositories.
  • Easy-to-use Unity editor interface for managing definitions.
  • Fully compatible with Unity LTS versions.

Tested Unity Versions

  • [ ] Unity 2019.4.40f1 (LTS)
  • [X] Unity 2020.3.48f1 (LTS)
  • [X] Unity 2021.3.45f1 (LTS)
  • [X] Unity 2022.3.52f1 (LTS)
  • [ ] Unity 2023 (no LTS)
  • [X] Unity 6 (LTS)

Getting Started

Step-by-Step Guide

  1. Install the xAPI4Unity package: Follow the installation instructions below.
  2. Set up xAPI Registry: Go to Unity Menu > xAPI4Unity > Setup xAPI definitions. Select how you want to fetch the xAPI registry:
    • Clone from a Git repository.
    • Use a local directory containing the xAPI registry definitions.
  3. Edit and transform JSON files: Use the Assets/xapi folder for your xAPI JSON files. Changes are automatically transformed into C# if the watcher is enabled. Alternatively, use the Update xAPI.Registry button for manual transformation.
  4. Manual Transformation: Use the Unity menu xAPI4Unity > Update xAPI.Registry (JSON => C#) to trigger transformation manually if required.
  5. View Documentation: Open https://xapi.elearn.rwth-aachen.de via xAPI4Unity > Open registry page in the Unity menu for more information.

Installation

Option 1: Add Scoped Registry via manifest.json

  1. Open Packages/manifest.json in your Unity project root.
  2. Add the following scoped registry configuration:
    "scopedRegistries": [
        {
          "name": "npmjs",
          "url": "http://registry.npmjs.com/",
          "scopes": [
            "com.rwth.unity.omilaxr.xapi4unity"
          ]
        }
    ]
  3. Add the com.rwth.unity.omilaxr.xapi4unity scope if another registry is already defined.
  4. Open Unity's Package Manager, go to My Registries, and install com.rwth.unity.omilaxr.xapi4unity.

Option 2: Using Scoped Registry from Project Settings

  1. Navigate to Project Settings > Package Manager.
  2. Add the following scoped registry:
    • Name: npmjs
    • URL: http://registry.npmjs.com
    • Scope(s): com.rwth.unity.omilaxr.xapi4unity
  3. Open Package Manager, select Add package by name, and input com.rwth.unity.omilaxr.xapi4unity.

Option 3: Using Git URL

  1. Go to Package Manager.
  2. Select Add package from git URL.
  3. Paste https://gitlab.com/learntech-rwth/omilaxr-ecosystem/xapi-4-unity.git and click Add.

Setup Guide

JSON Definitions Location

You need a source for xAPI Registry definitions for transformation:

  • Git Repository: Fetch definitions directly from a published GitLab repository (requires git CLI installed).
  • Local Source: Select a local directory with the definitions folder at its root.

Fetcher Configuration

  • Configure where the generated C# files from xAPI definitions will be saved. For example, you can set this to ./Assets.

JSON Watcher

  • When enabled, xAPI4Unity automatically detects changes in JSON files in the Assets/xapi folder and triggers transformation into C#. The watcher is enabled by default but can be disabled via settings.

Developer Notes

Contributing

Feel free to create pull requests or raise issues to help improve xAPI4Unity. Contributions are always welcome.

License

This project is licensed under the AGPL-3.0-or-later. See the LICENSE file for details.

Support

For further assistance, please visit xAPI Registry Documentation or raise an issue in the repository.