Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    toga-jspublic

    NOTE: This project is under active development. APIs subject to change.

    toga-js

    NPM version Downloads Build Status Coverage Status Chat Tip

    Generates a Toga abstract syntax tree for JavaScript files using Tunic.

    Install

    $ npm install --save-dev toga-js
    

    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

    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
    

    © 2015 Shannon Moeller me@shannonmoeller.com

    Licensed under MIT

    install

    npm i toga-js

    Downloadslast 7 days

    3

    version

    1.0.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar