maniwrld/marzjs ? reverse-engineered prompt

Reverse engineered prompt

Build me a Node.js client for the Marzban Panel API that feels simple to use but covers the common admin tasks. I want to be able to log in with either a username and password or an access token, then manage admins, users, templates, nodes, core settings, and basic system info from one clean interface.

It should also support getting subscription details for users, checking usage, resetting data usage, and deleting expired users. Please include a live log streaming option too, plus automatic retry and timeout handling so it keeps working when the network is flaky.

Make the package easy to import in a normal Node app, add a few clear usage examples, and include a README that shows how to connect, authenticate, and call the main methods. If you need to check the current Marzban API behavior or docs online while building it, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab