1.3.5 • Published 1 year ago

ie-passer v1.3.5

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
1 year ago

IE Passer

Debug in IE easily!

This debug tool is based on HTA, which is an 'old' technology to make HTML Application come true. Because HTA's host program is IE (mshta.exe), you can debug your JS in IE through HTA.

HTA can be used only in Windows, just like this tool.

This tool packaged HTA test into a small function, making your debug easier.

Usage

import iePasser from 'ie-passer';
// or
const iePasser = require('ie-passer');

iePasser(
  'Your:\\Project\\index.ie.js',
  {
    test0: () => {
      // some test...
    },
    test1: () => {
      // some test...
    },
  },
  {
    version: '5' // version of IE core
  }
);

Then, a magic HTA window will be opened. You can click the button displaying tests' name to do the test.