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

@webaverse-studios/metaversefile

v0.0.32

Published

## Overview

Downloads

4

Readme

Metaversefile

Overview

This library lets you compile a URL (https://, ethereum://, and more) into a THREE.js app representing it, written against the Metaversefile API.

You can use this library to translate your avatars, models, NFTs, web pages (and more) into a collection of import()-able little web apps that interoperate with each other.

Metaversefile is intended to be driven by a server framework (like vite.js/rollup.js), and game engine client (like Webaverse) to provide a complete immersive world (or metaverse) to the user.

It is easy to define your own data types and token interpretations by writing your own app template. If you would like to support a new file format or Ethereum Token, we would appreciate a PR.

Although this library does not provide game engine facilities, the API is designed to be easy to hook into game engines, and to be easy to drive using AIs like OpenAI's Codex.


Usage


	let  object;
	try {
		object = await  metaversefileApi.load(url);
	} catch (err) {
		console.warn(err);
	}
	return  object;

Inputs

  • url: {URL of the asset that can be downloadable by the screenshot system} [Required]

Returns

  • Promise:

Output

  • Object of application

Supported Assets

  • VRM
  • VOX
  • JS
  • SCN
  • IMAGE
  • HTML
  • GLB
  • GIF

Motivations

  • A system which takes any URL (or token) and manifests it as an object in a 3D MMO
  • Metaversefile transmutes data on the backend, serving composable little WASM+JS apps your browser can import()
  • Object description language (.metaversefile) to declare game presentation. Sword? Wearable loot? Pet is aggro? Think CSS/JSON for the metaverse.
  • Metaversefile works completely permissionlessly. It provides a virtual lens into data, and you control the lens.
  • Metaversefile supports declaring per-object components, which can have gameplay effects
  • Pure open source web tech
  • Moddable; make your metaverse look and work the way you want
  • Metaversefile integrates into game engines, which provide the game.
  • Metaversefile works with 2D ($1K jpg) and 3D ($15K fbx) assets.
  • Metaversefile accepts PRs to improve the resolution of the Metaverse

Architecture

Flow Diagram

Metaversefile diagram 02