<p align="center"><img src="logo.png" alt="Geometry Dash Level to JSON Logo"></p>

# Geometry Dash Level to JSON
**gd-level-to-json** | [gd-level-to-json-cli](https://npm.im/gd-level-to-json-cli)

Convert a Geometry Dash level's data to a readable JSON format.

[![npm](https://img.shields.io/npm/v/gd-level-to-json)](https://npm.im/gd-level-to-json)
[![npm](https://img.shields.io/npm/dt/gd-level-to-json)](https://npm.im/gd-level-to-json)
[![NPM](https://img.shields.io/npm/l/gd-level-to-json)](https://npm.im/gd-level-to-json)

# Features
GD Level to JSON is exported as a function that takes in Geometry Dash level data, whether if it is encrypted or unencrypted.

```js
const fs = require("fs");
const path = require("path");
const convert = require("gd-level-to-json");

console.log(convert(fs.readFileSync(path.resolve(__dirname, "level.txt")).toString())); // { properties: { ... }, objects: [ ... ] }
```

# Special Thanks
[Colon](https://github.com/GDColon) - I copied some things from GDBrowser but whatever\
[AlFas](https://github.com/AlFasGD) - for GDAPI

# License
This package is licensed under the [MIT License](./LICENSE).