🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

raml-object-to-raml

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-object-to-raml

Takes a RAML object in JavaScript and emits properly-formatted RAML (text).

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

RAML Object To RAML

NPM version Build status Test coverage

Takes a RAML object in JavaScript and emits properly-formatted RAML (text).

Installation

npm install raml-object-to-raml --save

Usage

CLI

Supports piping in JSON and printing the resulting RAML to stdout.

cat api.json | raml-object-to-raml > api.raml

JavaScript

The module can be required inside other projects for generating the RAML file directly from JavaScript objects.

var toRAML = require('raml-object-to-raml');

console.log(toRAML({ ... }));
// #%RAML 0.8
// title: Example API
// ...

License

Apache 2.0

Keywords

raml

FAQs

Package last updated on 25 Mar 2016

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