npm.io
1.25.0 • Published 9 years ago

hydrolysis

Licence
BSD-3-Clause
Version
1.25.0
Deps
8
Vulns
0
Weekly
0
Stars
158

NPM version Build Status

hydrolysis

Static analysis utilities for polymer.

Install

npm install hydrolysis

Usage

var hyd = require('hydrolysis');

hyd.Analyzer.analyze('path-to-polymer-element.html')
    .then(function(analyzer) {
      console.log(analyzer.elementsByTagName['my-element'])
    });

For more detail, see the API Docs.

Developing

You need wct to run the tests.

Run a one-off build of the project:

npm run build

Or watch the source for changes, and rebuild each time a file is modified:

npm run watch