npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pptxtemplater

v1.0.5

Published

.pptx generator Module for docxtemplater v1.0

Downloads

235

Readme

pptxTemplater

The pptxtemplater modifies PowerPoint template and provided data before docxtemplater generates the final version of the document.

This module can be used only in combination with docxtemplater.

Installation

Use npm install to get the module

npm install docxtemplater --save
npm install pptxtemplater --save

In your code use the pptxtemplater as a module:

let pptxTemplaterModule = require('pptxtemplater');
let doc = new this.Docxtemplater(content);
doc.attachModule(pptxTemplaterModule);

Requirements

Usage

There are two new features added to the standard functionality of docxtemplater:

Split PowerPoint table slides

You can now split one long table into multiple slides with the smaller number of table rows. To do so, you have to provide maximal number of rows in your template that should be shown on one slide.

{#array;max_rows:10}{your_data}{/array}

Duplicate PowerPoint slides

If you have a slide which should be duplicated dynamically depending on provided data you can use "multiplier" tag: $. Each slide, containing this tag will be as many times duplicated as many entries are stored in the array with the same name.

If there are no data for this tag, this slide will be deleted.

{$data_to_show_on_multiple_slides}

Here is an example:

Template Template sample

Output Output sample

For data

{
    "DATA_TO_SHOW_ON_MULTIPLE_SLIDES": [{
        "COUNTRY": "Germany",
        "REVENUE_PER_REGION": [{
                "Region": "Berlin",
                "ZIP": "55014",
                "Revenue": "€93896.94"
            }, {
                "Region": "Saxony-Anhalt",
                "ZIP": "30652",
                "Revenue": "€51759.11"
            }, {
                "Region": "HH",
                "ZIP": "05652",
                "Revenue": "€51355.41"
            }]
        },{
        "COUNTRY": "Austria",
        "REVENUE_PER_REGION": [{
                "Region": "Bgl",
                "ZIP": "8571",
                "Revenue": "€77899.04"
            },
            {
                "Region": "Vienna",
                "ZIP": "4403",
                "Revenue": "€77276.25"
            },
            {
                "Region": "Vienna",
                "ZIP": "9122",
                "Revenue": "€48795.89"
            }]
        }
    ]
}

Contributions

Contributions are greatly appreciated. See CONTRIBUTING for details

How to obtain support

Feel free to open new issues for feature requests, bugs or general feedback on the GitHub issues page of this project.

License

This project is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file