Generate a JavaScript API client from RAML.
npm install raml-javascript-generator -g
This module depends on raml-generator and can be used globally or locally with JavaScript.
- Chained DSL generation
README.md
output- Support for
client.methodName
andclient.displayName
annotations - Emits OAuth 2.0 client wrappers
raml-javascript-generator api.raml -o js-client
var jsGenerator = require('raml-javascript-generator')
var output = jsGenerator(/* api, data */)
Apache License 2.0