Skip to main content

Installation

In the browser​

Import the ES module build from the hosted build or from a CDN:

<script type="module">
import { FEAScriptModel } from "https://core.feascript.com/dist/feascript.esm.js";
</script>
<script type="module">
import { FEAScriptModel } from "https://cdn.jsdelivr.net/gh/FEAScript/FEAScript-core/dist/feascript.esm.js";
</script>

You can also download a release from GitHub Releases and import it locally.

With Node.js​

npm install feascript
import { FEAScriptModel } from "feascript";

FEAScript is built as an ES module. In a new project, set "type": "module" in your package.json.