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

com.rwth.unity.omilaxr.xapi4unity

v2.1.6

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.

Downloads

198

Readme

xAPI4Unity

Getting started

  1. Install xAPI4Unity package (see below).
  2. Choose one of the three options to in xAPI4Unity > Open Fetcher Window (Settings) in Unity menu to get xAPI Registry folder copy in your project.
  3. Simply edit your JSON files in Asset/xapi. Each time you safe a JSON file in that location, the transformation is triggered (if watcher is set to Yes). Of course, you can use Update xAPI.Registry button whenever you wish. But this button is needed in case you turned off the watcher.
  4. On problems or if you disabled the watcher, you can use xAPI4Unity > Update xAPI.Registry (JSON => C#) in Unity menu to trigger transformation manually.
  5. In xAPI4Unity / Open registry page you can open https://xapi.elearn.rwth-aachen.de.

Install package

Adding scoped registry by using manifest.json (quick way)

  1. Go to you project root and then open Packages/manifest.json.
  2. Ensure following entries in your file: "scopedRegistries": [ { "name": "npmjs", "url": "http://registry.npmjs.com/", "scopes": [ "com.rwth.unity.omilaxr.xapi4unity" ] }].
  3. If you already have this registry, just add the scope com.rwth.unity.omilaxr.xapi4unity.
  4. Go to the Unity Package Manager to My registries and install the package com.rwth.unity.omilaxr.xapi4unity.

Install by using scoped registry

  1. Ensure in "Project settings" > "Package Manager" that you have the scoped registry with following settings:
    • Name: npmjs
    • URL: http://registry.npmjs.com
    • Scope(s): com.rwth.unity.omilaxr.xapi4unity
  2. Go to Package Manager.
  3. Click on the (+) button.
  4. Select 'Add package by name'.
  5. Place in 'Name' field: com.rwth.unity.omilaxr.xapi4unity.

(Alternative) Install by using Git url

  1. Go to Package Manager.
  2. Click on the (+) button.
  3. Select 'Add package from git URL'.
  4. Paste https://gitlab.com/learntech-rwth/omilaxr-ecosystem/xapi-4-unity.git and confirm.

Setup JSON Definitions Location

For transformation you need a source for the xAPI Registry definitions. You have two options: GitLab or Local. In case of GitLab you will again, fetch data from published GitLab repository. By choosing Local, you have to define the path for the clone of this repository. The selected path shall have package.json and definitions folder in root. If you choose a path (e.g. ./Assets/xapi) and click on Clone repository, the tool will automatically create this kind of source by using git clone. To do it, git cli must be installed.

Fetcher configuration

The only option you need to do here, is to select a path where you want to place your generated C# files of the xAPI Registry. You can place it for example at ./Assets.

JSON Watcher

In case you are using the fetcher type Unity it will transform the JSON files to C# directly inside of Unity Editor. This can be done by using the transform button or the watcher (turned on by default and can be disabled).