Name Last Update
..
.bower.json Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
API.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
bower.json Loading commit data...
hydrolysis-analyzer.html Loading commit data...
hydrolysis.html Loading commit data...
hydrolysis.js Loading commit data...
index.js Loading commit data...

README.md

hydrolysis

Static anlaysis 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