$ gnpm install axo
AXO stands for ActiveXObject. And the sole purpose of this library is to
return the ActiveXObject
constructor from the environment it's loaded in.
Normally you would just reference the constructor directly by simply mentioning
this constructor in your source file can result in blocking of your
file.
There are 2 ways of tackling this issue:
AXO
and never mention it.npm install --save axo
This module makes the assumption that it can be loaded in node.js/commonjs based
environment and exports it self on the module.exports
. So using browserify for
the code makes a lot of sense here.
var AXO = require('axo');
new AXO('htmlfile');
MIT
Copyright 2013 - present © cnpmjs.org | Home |