JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 162
  • Score
    100M100P100Q84010F
  • License MIT

Parse Minecraft gamesetting (options.txt) with type.

Package Exports

  • @xmcl/gamesetting
  • @xmcl/gamesetting/dist/index.js
  • @xmcl/gamesetting/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@xmcl/gamesetting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Gamesetting Module

npm version Downloads Install size npm Build Status

Provide function to parse Minecraft game settings

Usage

Parse GameSetting (options.txt)

Serialize/Deserialize the minecraft game setting string.

import { GameSetting } from '@xmcl/gamesetting'
const settingString;
const setting: GameSetting = GameSetting.parse(settingString);
const string: string = GameSetting.stringify(setting);