Blame view

bower_components/hydrolysis/README.md 828 Bytes
eb240478   Luigi Serra   public room cards...
1
2
  [![NPM version](http://img.shields.io/npm/v/hydrolysis.svg)](https://npmjs.org/package/hydrolysis)
  [![Build Status](https://travis-ci.org/Polymer/hydrolysis.svg?branch=master)](https://travis-ci.org/Polymer/hydrolysis)
73bcce88   luigser   COMPONENTS
3
4
  # hydrolysis
  
e619a3b0   Luigi Serra   Controllet cross ...
5
  Static analysis utilities for polymer.
73bcce88   luigser   COMPONENTS
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  
  ## Install
  ```
  npm install hydrolysis
  ```
  
  ## Usage
  ```js
  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](API.md).
  
  
  ## Developing
  You need [wct](https://github.com/Polymer/web-component-tester) to run the tests.
  
  Run a one-off build of the project:
  
  ```sh
  npm run build
  ```
  
  Or watch the source for changes, and rebuild each time a file is modified:
  
  ```sh
  npm run watch
  ```