node-i2djs
  • Introduction to node-i2djs
  • Getting Started
    • Installation
    • Quick Start CanvasLayer
    • Quick Start Canvas PDF Layer
    • Examples
  • API Reference
    • canvasLayer
    • canvasPdfLayer
    • Element API
    • Textures
    • Path
    • Join Action
  • Guide
    • Element types
    • Data Join-Actions
    • Canvas: Textures & Sprite animation
    • Canvas: Clipping, Masking, Pattern
Powered by GitBook
On this page
  • npm package:
  • Importing.
  1. Getting Started

Installation

Simple and easy to follow

Node-i2djs source code is developed using the CommonJS module system.

npm package:

node-i2djs npm package can be installed using the below cmd.

$ npm install node-i2djs --save

Importing.

Import modules into the namespace.

let { canvasLayer, canvasPdfLayer, path } = require('node-i2djs');

canvasPdfLayer for PDF purpose, create multi page PDF's.

canvasLayer for non PDF requirements, create images, etc.

PreviousGetting StartedNextQuick Start CanvasLayer

Last updated 2 years ago