Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.36 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.36 KB

RAML JavaScript Generator

NPM version NPM downloads Build status Test coverage

Generate a JavaScript API client from RAML.

Installation

npm install raml-javascript-generator -g

Usage

This module depends on raml-generator and can be used globally or locally with JavaScript.

Global

raml-javascript-generator api.raml -o api-client-js

Locally

var jsGenerator = require('raml-javascript-generator')

var output = jsGenerator(/* raml, data */)

License

Apache License 2.0