Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

raml-lipsum

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-lipsum

Generates random data from RAML specifications

latest
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

raml-lipsum [Beta]

Generates random data from RAML 1.0 type specifications

NOTE: This generator operats only on the RAML 1.0 type specifications. It's not aware of anything else at the moment.

Usage

You can use raml-lipsum either from the command-line, or as a node library.

From the command-line:

~$ raml-lipsum path/to/file.raml TypeName > sample-data.json

As a library:

var RAMLGenerator = require('raml-lipsum');

// Load RAML file and create a generator
var generator = new RAMLGenerator('/path/to/file.raml');

// Generate some data for the given type
var data = generator.generate('TypeName');
console.log(JSON.stringify(data));

Installation

project: npm install raml-lipsum --save

global: npm install raml-lipsum -g

License

Copyright (c) 2016 Ioannis Charalampidis

MIT (http://opensource.org/licenses/mit-license.php)

Keywords

raml

FAQs

Package last updated on 29 Mar 2019

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