Getting started
Installation
FabricJS can be made available via following approaches as suited by your project
Using from CDN via script tag
Include a script tag within your HTML page, from any cdn that offers this service like cdnjs, jsdelivr, unpkg
Installing from npm
Browser support
Following is a table portraying which browsers are supported. In general you can always re-transpile to support older browsers, but some canvas features can’t be transpiled or polyfilled.
Context | Supported Version | Notes |
---|---|---|
Firefox | ✔️ | >= 58 |
Safari | ✔️ | >= 11 |
Opera | ✔️ | chromium based |
Chrome | ✔️ | >= 64 |
Edge | ✔️ | chromium based |
Edge Legacy | ❌ | |
IE11 | ❌ | |
Node.js | ✔️ | >= 18 |