0.2.0 • Published 4 years ago
@lgou2w/mcnbt v0.2.0
@lgou2w/mcnbt
A lgou2w Minecraft NBT library for Javascript
Install
npm install @lgou2w/mcnbt --save
or
yarn add @lgou2w/mcnbt
There is no default export. The correct way to import @lgou2w/mcnbt
is:
import * as l2mcnbt from '@lgou2w/mcnbt'
Need long.js
library to work. If it is a browser environment, please make sure long.js dependency.
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/long/dist/long.js"></script>
Compatibility
- Node
- IE 10+, Edge 12+
- Chrome, Firefox, Opera, Safari, etc...
API
TODO
License
Apache-2.0