hekla-core
Core logic for running static analysis with Hekla
Last updated 6 months ago by andrewjensen .
MIT · Original npm · Tarball · package.json
$ cnpm install hekla-core 
SYNC missed versions from official npm registry.

hekla-core

Core logic for running static analysis with Hekla

Build Status

This package is required by the Hekla Webpack plugin and CLI tool. It includes built-in plugins, as well as other core logic that you can use in custom plugins. The Analyzer can also be imported and called directly from other code.

Configuring hekla.config.js

TODO: add this section!

Built-in plugins

See the src/plugins directory.

Logic for other plugins

See the src/utils/ast-utils directory.

Using hekla-core from other code

const Analyzer = require('hekla-core').Analyzer;
const config = require('./path/to/hekla-config.js');

const analyzer = new Analyzer();
analyzer.applyConfig(config);

// ...

See the Analyzer unit tests for more example usage.

Current Tags

  • 0.3.3                                ...           latest (6 months ago)

6 Versions

  • 0.3.3                                ...           6 months ago
  • 0.3.2                                ...           6 months ago
  • 0.3.0                                ...           9 months ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           3 years ago
  • 0.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 7
Last Day 1
Last Week 6
Last Month 5
Dependencies (13)
Dev Dependencies (2)

Copyright 2014 - 2017 © taobao.org |