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 toga-pura with all npm packages installed. Try it out:

var togaPura = require("toga-pura")

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

toga-pura v0.1.2

A light theme for Toga documentation.

toga-pura

NPM version Downloads Build Status Coverage Status

A light theme for Toga documentation.

Install

$ npm install toga-pura

Usage

var toga = require('toga'),
    js = require('toga-js'),
    md = require('toga-markdown'),
    pura = require('toga-pura'),

    config = {
        src: './src/assets/**/*.js',
        dest: './web/docs'
    };

toga
    .src(config.src)
    .pipe(js.parser())
    .pipe(md.formatter())
    .pipe(pura.compiler())
    .pipe(toga.dest(config.dest));

Contribute

Tasks Chat Tip

Standards for this project, including tests, code coverage, and semantics are enforced with a build tool. Pull requests must include passing tests with 100% code coverage and no linting errors.

Test

$ npm test

© 2014 Shannon Moeller me@shannonmoeller.com

Licensed under MIT

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