Skip to content

helix / profileFromRaw

Function: profileFromRaw()

profileFromRaw(raw): VersionProfile

Defined in: versions/raw-profile.ts:83

Build a VersionProfile from already-parsed raw mcmeta JSON. Pure - no disk access - so it works in any environment (this is what the browser build calls with JSON it fetched at runtime). loadProfile (load.ts) is the Node wrapper that reads the bundled data/<file> first.

Parameters

raw

RawProfile

Returns

VersionProfile

Released under the MIT License · Credits