Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-raml

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-raml - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

8

CHANGELOG.md
# create-raml changelog
## [3.2.3](http://github.com/ivanoff/create-raml/tree/3.2.3) (2017-03-23)
[Full Changelog](http://github.com/ivanoff/create-raml/compare/3.2.2...3.2.3)
**What Was Done:**
- add simple express example
## [3.2.2](http://github.com/ivanoff/create-raml/tree/3.2.2) (2017-03-07)

@@ -4,0 +12,0 @@ [Full Changelog](http://github.com/ivanoff/create-raml/compare/3.1.1...3.2.2)

6

docs/express_movies_api.md
# create-raml
## Extended express API example
[back to readme](../README.md)
## Movies database API example ( GET, POST, DELETE methods; RAM data storage )
Result example as html: [Movies Database API documentation](http://create-raml.simpleness.org/express_movies_api.html)
### Install modules

@@ -9,0 +11,0 @@

{
"name": "create-raml",
"version": "3.2.2",
"version": "3.2.3",
"description": "Create RAML",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,3 +15,3 @@

v3.2.2
v3.2.3

@@ -25,4 +25,22 @@

### Extended example
### Simple express example
```javascript
var express = require('express');
var Raml = require('create-raml');
var app = express();
var raml = new Raml({ express: app });
// regular app express workflow ( app.get, app.post, app.listen... etc )
```
### Get created raml
```curl 127.0.0.1:3000/api.raml```
### Extended express example
- [extended Express API example](docs/express_movies_api.md) - movies database API example ( GET, POST, DELETE methods; RAM data storage ). Result example as html: [Movies Database API documentation](http://create-raml.simpleness.org/express_movies_api.html)

@@ -29,0 +47,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc