Jump to content

Node.js SDK v1.0.0


JR10

Recommended Posts

I've written a Node.js module to facilitate calling http exported functions. It's just a class with one function, 'call'. It was originally part of my web panel project for MTA, but I've decided to release it as a module.

It's published on npm, so it's easy to install with:

npm install mtasa-sdk 

Example:

var MTA = require('mtasa-sdk'); 
  
var server = new MTA(); // [url=http://localhost:22005]http://localhost:22005[/url] 
server.call(resourceName, functionName, args, callback); 

For more information, check the GitHub repo: http://github.com/jr10/node-mtasa-sdk

  • Like 1
Link to comment
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...