hekla-core

0.3.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i hekla-core

Weekly Downloads

1

Version

0.3.3

License

MIT

Unpacked Size

103 kB

Total Files

61

Last publish

Collaborators

  • andrewjensen