Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gitbook-plugin-parse-from-url with all npm packages installed. Try it out:

var gitbookPluginParseFromUrl = require("gitbook-plugin-parse-from-url")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gitbook-plugin-parse-from-url v1.0.4

parses data from a url and saves it to a file

gitbook-plugin-parse-from-url

Add to the book.json the urls you want to save. Each url is an object with the url and the destination file name. The url from the object will be save to the dest specified.

plugins

"plugins" : [
  "parse-from-url"
]

Plugins Config

"parseUrls" : {
  "urls": [
    {
      "url": "https://api.github.com/orgs/BandwidthExamples/repos",
      "dest": "howto/deployableDemos.md",
      "mapping": "github-names.json"
    }
  ]
}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free