Class: PackageJSONReader

Defined in: src\pkg-json.coffee

Overview

Reads data from package.json

Instance Method Summary

Constructor Details

# (void) constructor(options)

Create a new PackageJSONReader. It checks that package.json contains the fields [['name', 'version', 'description']]

Parameters:

  • (options) ( Object ) Optional options.

Options Hash: (options):

  • fieldsNeeded ( Array<String> ) Fields required from packages.json
  • packagePath ( <String> ) Path to packages.json, relative to cwd ('./package.json')

Instance Method Details

# (void) read()

Reads package.json @returns [Object] The parsed data from package.json

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: