Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saeidzebardast/20a8c388f87eb9936148 to your computer and use it in GitHub Desktop.
Save saeidzebardast/20a8c388f87eb9936148 to your computer and use it in GitHub Desktop.
var hyd = require('hydrolysis');
hyd.Analyzer.analyze('app/elements/elements.html')
.then(function(analyzer) {
// console.log(analyzer.elements); // A list of all elements the Analyzer has metadata for.
console.log('Total elements: ' + analyzer.elements.length);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment