AMP up your plain HTML
npm install amperize



AMP up your plain HTML. Replaces regular HTML tags with their equivalent
AMP components.
npm install amperize
``
var Amperize = require('amperize');
var html = '
';
var amperize = new Amperize();
amperize.parse(html, function (error, result) {
if (error) {
// do something with error
return new Error(err);
}
// do something with result
return result;
});
`
Amperize is build to convert the
part of your HTML. It will not create the AMP boilerplate and will not add the required