Class: PkgParser

Defined in: src\components\pkg.coffee

Overview

Parses package.json information

Variables Summary

name =
"PkgParser"

Instance Method Summary

Constructor Details

# (void) constructor(options)

Creates a new PkgParser.

Parameters:

  • (options) ( Object ) An optional set of options, currently not used

Instance Method Details

# (void) run(pkg)

Parse package.json data. Selects the data that is important for the template only. @returns [Promise] The relevant subset of pkg

Parameters:

  • pkg ( Object ) package.json data

    Quickly fuzzy find classes, mixins, methods, file:

    • T Open fuzzy finder dialog

    Control the navigation frame:

    • L Toggle list view
    • C Show class list
    • I Show mixin list
    • F Show file list
    • M Show method list
    • E Show extras list

    You can focus and blur the search input:

    • S Focus search input
    • Esc Blur search input