Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 360 Bytes

browser-global.md

File metadata and controls

20 lines (17 loc) · 360 Bytes

Usage in browser as external script

<script src="./node_modules/war3-model/dist/war3-model.browser.js"></script>
<script>
    console.log(war3model.parseMDL('...'));
</script>

Also there is typings for browser:

// tsconfig.json
{
    "include": [
        "node_modules/war3-model/dist/war3-model.browser.d.ts",
        ...
    ]
}