commit
This commit is contained in:
parent
70e2f7a8aa
commit
008d2f30d7
675 changed files with 189892 additions and 0 deletions
37
node_modules/axo/README.md
generated
vendored
Normal file
37
node_modules/axo/README.md
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
# AXO
|
||||
|
||||
[](http://unshift.io)[](http://browsenpm.org/package/axo)[](https://travis-ci.org/unshiftio/axo)[](https://david-dm.org/unshiftio/axo)[](https://coveralls.io/r/unshiftio/axo?branch=master)[](http://webchat.freenode.net/?channels=unshift)
|
||||
|
||||
AXO stands for **A**ctive**XO**bject. 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](https://github.com/felixge/node-active-x-obfuscator#why).
|
||||
|
||||
There are 2 ways of tackling this issue:
|
||||
|
||||
1. Use the [active-x-obfuscator](https://github.com/felixge/node-active-x-obfuscator)
|
||||
and introduce another build step in your code.
|
||||
2. Use `AXO` and never mention it.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
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.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var AXO = require('axo');
|
||||
|
||||
new AXO('htmlfile');
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
Loading…
Add table
Add a link
Reference in a new issue