Socket
Book a DemoInstallSign in
Socket

nbt_utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nbt_utils

0.5.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

nbt_utils

Some classes for handling Minecraft .nbt files.

See the spec (NBT.txt in doc directory) for more info.

Installation

Requires Ruby 2.7 minimum.

gem install nbt_utils

Use

require 'nbt_utils'

@file = NBTUtils::File.new
@tag = @file.read('some_nbt_file.nbt')
puts @tag.to_s
@file.write('some_new_path.nbt', @tag, true) # true / false to gzip automatically

Copyright Michael Dungan, mpd@jesters-court.net, released under the MIT license.

The files NBT.txt, test.nbt, test_uncompressed.nbt, bigtest.nbt, and bigtest_uncompressed.nbt in the doc directory are mirrored from the Minecraft website and not covered under the above license.

FAQs

Package last updated on 08 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.