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 🙏

© 2026 – Pkg Stats / Ryan Hefner

com.gmonks.assetsyncer

v1.1.0

Published

A Unity library for asset caching, synchronizing and managing assets, designed to streamline asset updates and integration within your Unity projects.

Readme

GMonks AssetSyncer for Unity

A Unity package for efficient asset caching, synchronization, and management across your Unity projects.

Features

  • Efficient asset caching and synchronization
  • Simple integration with Unity projects
  • Reliable and optimized asset management
  • JSON-based asset data serialization

Installation

Option 1: Using Unity Package Manager with Scoped Registry

  1. Open your Unity project.
  2. Go to Edit > Project Settings > Package Manager > Scoped Registries.
  3. Click + to add a new scoped registry and enter:
    • Name: GMonks
    • URL: https://registry.npmjs.org
    • Scope(s): com.gmonks
  4. Click Save.
  5. After adding the scoped registry, open the Package Manager.
  6. Locate com.gmonks.assetsyncer in the list, select it, and choose the desired version to install.
  7. Click Install.

Option 2: Modify manifest.json Directly

  1. Open your project folder and navigate to Packages/manifest.json.
  2. Add or update the scopedRegistries section:
    "scopedRegistries": [
      {
        "name": "GMonks",
        "url": "https://registry.npmjs.org",
        "scopes": [
          "com.gmonks"
        ]
      }
    ],
  3. Add the package to the dependencies section:
    "com.gmonks.assetsyncer": "x.y.z"
    Replace x.y.z with the specific version you want to install, as listed in the package registry or release notes
  4. Save the file and return to Unity. The package will be installed automatically.

Usage

1. Initialize AssetSyncer

AssetSyncer must be initialized with a CryptoConfig instance containing your secretKey and pepper.
This is required for secure asset caching and encryption.

using GMonks.AssetSyncerLib;
using GMonks.Utilities.Crypto;

void Start()
{
    var cryptoConfig = new CryptoConfig(secretKey: "YOUR_SECRET_KEY", pepper: "YOUR_PEPPER");
    AssetSyncer.Initialize(cryptoConfig);
}

2. Request an Asset

using GMonks.AssetSyncerLib;
using GMonks.AssetSyncerLib.Data;

var assetQuery = new AssetQuery(
    groupId: "MyGroup",
    assetId: "example_asset",
    extension: AssetExtension.PNG,
    assetUrl: new AssetUrl("https://example.com/assets/example_asset.png"),
    updateTime: 1234567890,
    extras: "",
    callback: asset => {
        if (asset != null) {
            Debug.Log("Asset loaded: " + asset.NameWithExtension);
        } else {
            Debug.LogError("Failed to load asset.");
        }
    }
);

AssetSyncer.GetAsset(assetQuery);

3. Remove an Asset

AssetSyncer.RemoveAsset("MyGroup", "example_asset");

4. Remove an Entire Asset Group

AssetSyncer.RemoveGroup("MyGroup");

API Reference

  • AssetSyncer: Main entry point for asset caching and synchronization.
  • AssetQuery: Query for requesting and downloading assets.
  • Asset: Represents a cached asset.
  • AssetGroup: Represents a group of assets.

Support

This package is maintained by GMonks Entertainment Private Limited.
For support, please contact the package maintainer directly.


© 2014-2025 GMonks Entertainment Pvt. Ltd. All Rights Reserved.