# Developer Platform

<h2 align="center"><strong>Welcome to NurJS (Nurrage) LIB</strong></h2>

<p align="center"><em>NurJS (also known as Nurrage)** is an open-source framework for fast and flexible development on the <strong>RAGE:MP</strong> platform.</em></p>

💡 **About the Project** \
NurJS was created from the idea that RAGE:MP scripting should be *simple and beautiful* — without spaghetti code and chaos.\
The library unites all essential logic into one clean system:

* 🔹 Commands (`N.command`)
* 🔹 Key bindings (`N.bind`)
* 🔹 Database queries (`N.mysql`)
* 🔹 Teleports, blips, and doors
* 🔹 Admin rights, cooldowns, and safe actions

Everything is done in pure **JavaScript (Node.js)** and optimized for performance.\
Instead of writing hundreds of lines, developers use one unified syntax to build powerful gameplay features.

🧩 **Philosophy**\
Our mission is to make server-side scripting faster, safer, and more enjoyable for both beginners and experienced developers.\
\
🚀 Get Started 👉 Go to the next page to begin your setup guide:

**📦 Installation & Setup →**

#### 🔗 Useful Links

* [Discord Community](https://discord.gg/GbvENBuhxU)
* [RAGE:MP Official Website](https://rage.mp/)

{% columns %}
{% column %}

### Get started in 5 minutes

**NurJS keeps your code clean and efficient.**\
Focus on creativity — the framework handles all the boring parts.

Save time and energy build your RAGE:MP project smarter and cleaner.<br>

<a href="https://app.gitbook.com/o/oGnnQNR5bn3cK8slBmQt/s/HspOIUyaPTTcBHV8Lw4T/" class="button primary" data-icon="square-down">Installation </a>&#x20;
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
// One line — endless power 💥
N.command({
  name: "garage",
  description: "Open your garage and get a car",
  adminOnly: false,
  log: "Garage opened", // лог в консоль
  logToFile: {
    file: "garage.log",              // куда писать лог
    message: "Player opened garage"  // текст в файле
  },
  checker: { prison: 0, join: true },
  createVehicle: { model: "sultan", color1: 0, color2: 0 },
  notify: "Your car is ready!",
  tpToMarker: true
});
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
