Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 374 Bytes

node.md

File metadata and controls

21 lines (13 loc) · 374 Bytes

Usage in Node.js or with bundler (e.g. webpack)

war3-model can be used either as common-js module or as es-module:

ES Module

import { parseMDL } from 'war3-model';

console.log(parseMDL('...'));

This should be bundled or requires Node.js >= 13

Common js module

const { parseMDL } = require('war3-model');

console.log(parseMDL('...'));