Installation

FicusJS can be installed in a number of ways.

CDN

We recommend using native ES modules in the browser.

<script type="module">
  import { createComponent } from 'https://unpkg.com/ficusjs?module'
</script>

You can browse the source of the NPM package at cdn.jsdelivr.net/npm/ficusjs.

FicusJS is also available on unpkg.

NPM

FicusJS works nicely with build tools such as Webpack or Rollup. If you are using a NodeJS tool, you can install the NPM package.

npm install ficusjs

Available builds

FicusJS only provides ES module builds. For legacy browsers or alternative modules such as CommonJS, it is recommended to use a build tool to transpile the code.

The following builds are available.