Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

LunyaaDev/vrchat-location-parser

Open more actions menu

Repository files navigation

vrchat-location-parser

A Node.js package to parse VRChat location string

Installation

npm install vrchat-location-parser

or with pnpm:

pnpm add vrchat-location-parser

Usage

import {
  parseInstance,
  parseLocation,
  formatLocation,
} from 'vrchat-location-parser'

parseLocation('wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd:12345~region(eu)')

parseInstance('wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd', '12345~region(eu)')

formatLocation({
  worldId: 'wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd',
  name: '12345',
  type: 'public',
})

Contributing

Pull requests are welcome! If you have any ideas, feel free to open an issue.

About

A Node.js package to parse VRChat location string

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.