Introduction to node-i2djs
Version-1.x - Node.js framework that enables the creation of 2D graphics and includes the ability to generate PDF files.
Last updated
Version-1.x - Node.js framework that enables the creation of 2D graphics and includes the ability to generate PDF files.
Last updated
Node-i2djs is a server side node.js module that allows for the creation of 2D graphics using canvas, and features a declarative and virtual DOM-based model for efficient rendering. It is built on top of the node-canvas and provides APIs to produce and export content in various media formats, including images, PDFs.. etc.
Node-i2djs utilizes a declarative method that simplifies the definition of various geometrical entities, similar to those supported in SVG. This approach also facilitates pixel manipulations, multimedia support, and the creation of PDF files... etc
It provides API to create, access, modify, and delete graphical entities on canvas. Functionalities such as Data Joins (Join-Actions) help in associating/binding data with graphical elements and their manipulations.
The following Node-i2djs features helps in achieving efficient and scalable rendering:
Declarative Rendering: Node-i2djs provides a simpler syntax and semantics by abstracting from complex native syntax. Inline with client - I2Djs framework.
Virtual DOM tree: Node-I2Djs implements a Virtual DOM tree, which is a JavaScript object that reflects the corresponding rendering DOM. This feature preserves the state and allows for Create, Read, Update, and Delete operations on the rendering tree.
Join-Actions(Data Joins): The Join-Action mechanism in Node-i2djs facilitates the binding of data to graphical elements by defining the Enter, Update, and Exit actions. This feature offers adaptable handlers to modify data and activate corresponding actions in an efficient manner..
Multi page PDF / media support: Node-i2djs lets u export the content in different media formats. It also provides exclusive apis to create multi page graphical PDFs.
Easy Pixel manipulation: Node-I2djs provides a way to manipulate pixels in a easy way.
node-i2djs is licensed under the BSD 3-Clause "New" or "Revised" License. Please refer to the below link for more details