Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axo

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axo

Return an ActiveXObject without mentioning it in the source

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

AXO

Made by unshiftVersion npmBuild StatusDependenciesCoverage StatusIRC channel

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:

  1. Use the 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

var AXO = require('axo');

new AXO('htmlfile');

License

MIT

Keywords

FAQs

Package last updated on 15 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc