Skip to content

[WIP, DangerZone] Node module that emits proper RAML from object representation. Compatible with raml-js-parser

Notifications You must be signed in to change notification settings

html5cat/raml-emitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raml-object-to-raml

Takes a RAML object in JavaScript, specifically having the same structure of the output of the RAML JavaScript parser, and emits properly-formatted RAML (text).

Development

Install npm modules

npm install

Run in terminal

node sample-node.js

This will take exmaple.raml and convert to ramlObject and then emit it to output.raml.

beefy is a dev-dependency and allows to run module in browser with browserify:

npm start

Test

If test fails it will show the diff between example.raml and output.raml

npm test

License

MIT

About

[WIP, DangerZone] Node module that emits proper RAML from object representation. Compatible with raml-js-parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published