Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
gulp-raml2html
Advanced tools
gulp-raml2html
is back in the game. But you can still help us by submitting PRs on develop
branch. Thanks in advance!`
A simple gulp plugin to automate the process of generating HTML documentation based on a RAML API.
If you have any difficulties with the output of this plugin, please use the raml2html tracker.
Note: This plugin wraps raml2html.
npm install gulp-raml2html --save-dev
Gulp is a build life-cycle tool. You can configure several tasks to be ran when entering gulp [taskname]
in your console ('default' task is invoked if not specified). It can also be invoked by Continuous Integration tools.
To be able to use it, your application must have a gulpfile.js
with the possible tasks configured.
A typical gulpfile.js
will start with:
var gulp = require('gulp');
var raml2html = require('gulp-raml2html');
// your existing tasks
gulp.task('apidoc', function() {
return gulp.src('api.raml')
.pipe(raml2html())
.pipe(gulp.dest('build'));
});
// more tasks
gulp apidoc
will grab api.raml
and generate a build
folder with the generated HTML on it.
Included in this repository. Click here to go to the "example" folder
Type: boolean
Default value: false
When set to true
it also takes JSON files as input (generated by the RAML parser).
Type: boolean
Default value: false
When set to true
the raml2html
generator will output links to the all assets over https
protocol.
The code for gulp-raml2html is licensed under the MIT license. See license.txt
file for more info.
FAQs
A simple RAML to HTML documentation generator.
The npm package gulp-raml2html receives a total of 58 weekly downloads. As such, gulp-raml2html popularity was classified as not popular.
We found that gulp-raml2html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.