🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

raml2code-js-client-mulesoft

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml2code-js-client-mulesoft

Javascrispt client generator from RAML Spec

latest
npmnpm
Version
0.0.4
Version published
Weekly downloads
22
Maintainers
1
Weekly downloads
 
Created
Source

raml2code-js-client-mulesoft

Build Status

This generator create javascript client from a RAML file, based in raml-client-generatorfrom mulesoft.

To try

  • Install gulp
 npm install -G gulp
  • install the generators you needed
 npm install --save-dev raml2code
 npm install --save-dev raml2code-js-client-mulesoft
  • configure the gulpfile.js
var gulp = require('gulp');
var raml2code = require('raml2code');
var genJS = require("raml2code-js-client-mulesoft");

gulp.task("genJS", function(){
  gulp.src('./test/cats.raml')  
    .pipe(raml2code({generator: genJS, extra: {}}))
    .pipe(gulp.dest('build'));
});
  • Run the generator
  gulp genJS

This is part of the raml2code project.

Keywords

raml

FAQs

Package last updated on 13 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts