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.your_module_name

v2.0.5

Published

An OmiLAXR module for ...PURPOSE_OF_MODULE...

Downloads

3

Readme

OmiLAXR Module

Feel free to adjust this and other readmes. Each folder has own README.md files with more instructions.

@DEVELOPERS Please adjust Install by using scoped registry and Install by using Git url or remove them. Also think about to adapt the package.json and .asmdef files. You can adjust your keywords in package.json how much you need. We recommend to keep the keywords OmiLAXR and at least OmiLAXR.Module. Finally remove this line.

Module dependencies

The adapter has following third-party dependencies:

  • com.example.third: For explaining users why a third party package is needed for. With third party we mean packages that need either adding package via git or adding a scoped registry entry.
  • com.example.third2: ...

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.Modules.YOUR_MODULE_NAME
  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.adapters.YOUR_MODULE_NAME.

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

  1. Alternatively, instead of adding the scoped registry inside Unity editor you can do it by using manifest.json file.
  2. Go to you project root and then open Packages/manifest.json.
  3. Ensure following entries in your file: "scopedRegistries": [ { "name": "npmjs", "url": "http://registry.npmjs.com/", "scopes": [ "com.rwth.unity.omilaxr.adapters.YOUR_MODULE_NAME" ] }].
  4. By the way, you can also add here this package by adding "com.rwth.unity.omilaxr.adapters.YOUR_MODULE_NAME": "2.0.0" to the dependencies (attention you can change the version).

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://YOUR_REPOSITORY_URL.git and confirm.

For Developers

To work with this package we recommend to place it somewhere outside your Unity project (if the package gets an own git repository) or in root of your project. Than, you can include the package into your project by going to Window > Package Manager, click on (+) button and finally import the package.json of this project by clicking on Add package from disk.

For production use we recommend to use Add package form git URL or using scoped registries (see below).

Use another data format instead of xAPI

Remove references to xAPI.Registry and OmiLAXR.xAPI.

Default Folder Structure

Here you can see the default structure of the adapter unity packages. The folders surrounding with (FOLDER) are not delivered by default.

  • root
    • (Editor)
    • Examples
    • Plugins
    • Prefabs
    • Runtime
      • Actors
      • Composers
        • HigherComposers
      • Endpoints
      • Extensions
      • Filters
      • Hooks
      • Listeners
      • Pipelines
      • TrackingBehaviours
    • Tests
      • Runtime
      • (Editor)

Use internal for project

If you do not wish to publish the package you can add the package in root of your Unity project. Accordingly you have to import your package for your project (see above "For Developers").

Publication

You can publish your package at any npm registry. It makes sense to publish packages for easier distribution in other projects. But we recommend to use npmjs.com. Here you can get more details. But the steps are very easy.

  1. Create an account on npmjs.com.
  2. On demand increase your version number in package.json.
  3. Commit and push your changes.
  4. Open a terminal.
  5. Go to the root of your project.
  6. Run npm login and login via browser (or what else you like).
  7. Run npm publish --access public.
  8. Wait until publication is ready.