Deuterium is a cross-platform library for professional output creation.

Deuterium allows for the easy creation of documents in various output formats (like PDF, PNG, HTML, etc.) using just a few lines of code.

Deuterium is a natural, stable isotope of hydrogen. It has one proton and one neutron in its nucleus, whereas the most common isotope of hydrogen, protium, only has one proton. Deuterium is sometimes referred to as "heavy hydrogen" because its atomic mass is approximately double that of protium. It is found in small amounts in natural water, forming what is known as "heavy water."

Deuterium uses a lHigh-performance rendering Engine for creating dynamic documents with advanced rendering techniques (including intelligent widow and orphan control, automatic hyphenation, kerning, and more).

				
					import { Document } from "ts-d2";

const pdf = new Document(
  "Hello World!"
).convertToPDF();
				
			

The library enables you to create documents in the following output formats

  • PDF
  • HTML
  • PNG
  • BMP
  • PostScript
  • ...

When does it start?

Come back soon for our open repository on GitHub and other platforms. 

Deuterium is powered by neeyo in the area of output creation and output management – developed and maintained.

Usage and Licensing

Deuterium is an Open Source library, licensed under the MIT license. It requires a Deuterium server, which processes the rendering. Find out more about hosting your own Deuterium server.