JR10 Posted September 21, 2015 Posted September 21, 2015 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 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now