New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

generator-rfc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-rfc

Generate a gulp-based RFC editing environment

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

generator-rfc

Use yeoman to create a project to edit an Internet-Draft/RFC from markdown, including web server that does live refreshes of a web page as the source changes.

Quick start

gem install kramdown-rfc2629
pip install xml2rfc
brew install npm  # see: https://nodejs.org/en/ for downloads
npm install -g yo generator-rfc
mkdir draft-foo
cd draft-foo
yo rfc
# answer some questions
# lots of node modules get installed into the `node_modules` subdirectory
npm start

Installation

Nodejs is required.

Use node's package manager to ensure yeoman and this package are installed:

npm install -g yo generator-rfc

You'll also need:

xml2rfc v2.4.5 or higher, which I suggest installing with:

pip install xml2rfc

and also:

kramdown-rfc2629, which can be installed with:

gem install kramdown-rfc2629

Usage

At the command-line, cd into an empty directory, run this command and follow the prompts.

yo rfc

Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.

Answer a couple of questions. Unless you specify --skip-install in the yo command, npm install will run automatically, populating the node_modules directory with all of the nodejs packages necessary to run the system. Yes, there are a lot of them, but they install relatively quickly. Node developers tend to make lots of tiny packages, and reuse more aggressively than other communities.

Then start the server:

npm start

Your default web browser will pop up with a skeleton RFC. Edit the draft-*.md file in your favorite text editor. When you save the file... look at your browser window.

Keywords

rfc

FAQs

Package last updated on 22 Jul 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