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

nexaplot

v1.1.2

Published

Nexaplot adalah modul PDF Template Engine & Designer berbasis JavaScript yang memungkinkan otomatisasi dokumen dengan akurasi tinggi melalui antarmuka visual drag-and-drop

Readme

Nexaplot 🚀

Nexaplot adalah modul PDF Template Engine & Designer berbasis JavaScript (Vue 3 + Node.js) yang memungkinkan Anda merancang dan menghasilkan dokumen PDF secara dinamis dengan akurasi tinggi melalui antarmuka visual drag-and-drop.

npm version License: MIT

Fitur Utama

  • Visual Designer: Editor WYSIWYG untuk menempatkan variabel pada PDF template.
  • 🎨 Nexa Palette Design: Antarmuka modern dengan gaya Glassmorphism & Dark Mode.
  • 🛠️ Universal Engine: Satu engine yang sama bekerja di Browser (Vue) dan Backend (Express).
  • 🧩 Zero Config CSS: Menggunakan Scoped CSS—tidak perlu instalasi Tailwind di sisi client.
  • 📊 Dynamic Elements: Dukungan Teks (Bold/Italic/Fonts), Gambar, Tabel dinamis, dan QR Code.
  • 📦 NPM Ready: Siap diintegrasikan ke alur kerja pengembangan modern.
  • 📗 Full Documentation: Lihat DOCUMENTATION.md untuk panduan lengkap alur kerja dan skema data.

Instalasi

npm install nexaplot

Penggunaan

1. Vue Designer (NexaplotEditor)

Gunakan komponen ini untuk memberikan antarmuka desain kepada pengguna Anda.

<script setup>
import NexaplotEditor from 'nexaplot/editor';
import 'nexaplot/style.css';
import * as PDFLib from 'pdf-lib';

const onSave = ({ configString }) => {
  // Simpan 'configString' (NXCFG-...) ke database
  console.log("Encoded Config:", configString);
};
</script>

<template>
  <div style="height: 100vh">
    <NexaplotEditor :pdf-lib="PDFLib" @save="onSave" />
  </div>
</template>

2. PDF Generation (Backend/Express)

Gunakan engine untuk men-generate hasil akhir PDF di server.

import NexaplotEngine from 'nexaplot';
import * as pdfLib from 'pdf-lib';

const handleRequest = async (req, res) => {
  const licenseKey = 'NX-COMM-YOUR-KEY'; // Opsional (Trial jika kosong)
  const engine = new NexaplotEngine(pdfLib, licenseKey);
  
  // Param kedua 'configString' wajib berupa string ter-encode (NXCFG-...)
  const result = await engine.generate(bufferTemplate, configString, userData);
  
  res.setHeader('Content-Type', 'application/pdf');
  res.send(Buffer.from(result));
};

Alternatif menggunakan functional helper:

import { generatePdf } from 'nexaplot/engine';

Trial vs Pro Version

Versi Trial (tanpa license key) akan menyertakan watermark "NEXAPLOT TRIAL" pada setiap halaman PDF yang dihasilkan. Untuk menghapus watermark dan menggunakan Nexaplot dalam proyek komersial, Anda memerlukan Commercial License Key.

Hubungi Antmedia.co.id untuk aktivasi lisensi.

Lisensi

Proyek ini menggunakan lisensi MIT dengan pembatasan fitur komersial pada engine (Watermark). Lihat file LICENSE untuk informasi lebih lanjut.


English Short Version

Nexaplot is a professional PDF Template Engine & Designer. It provides a visual drag-and-drop editor for Vue 3 and a powerful rendering engine for Node.js/Express.

  • Designer: import NexaplotEditor from 'nexaplot/editor'; import 'nexaplot/style.css';
  • Engine (Class): import NexaplotEngine from 'nexaplot'
  • Engine (Functions): import { generatePdf } from 'nexaplot/engine'

Made with ❤️ by Antmedia.co.id