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

dragxcel

v1.0.4

Published

Official SDK for the DragXcel API Platform — automate personalized certificate and email generation at scale.

Readme

DragXcel SDK

Official Node.js client for the DragXcel API Platform — automate personalized certificate and email generation at scale.

Installation

npm install dragxcel

How it Works (The Workflow)

  1. Connect Your Data (using User-End API Key and Protection Key).
  2. Design Your Template on the DragXcel Platform.
  3. Automate Everything (using your Server-End API Key).

Usage

1. Connect Your Data (Data Bridge)

This is always the first step. You register your existing API endpoint so DragXcel can fetch your columns and data.

const { DragXcel } = require('dragxcel');
const dxl = new DragXcel(); // No server key needed yet

await dxl.connect({
  userKey: 'dxl_user_your_project_id',
  protectionKey: 'dxl_prot_your_secret_key',
  endpoint: 'https://your-website.com/api/members'
});

console.log("Data source connected successfully!");

2. Automate (Bulk Generation & Sending)

After you've designed your template and mapped your fields on the platform, you can use your Server-End API Key to automate the process.

// Initialize with your Server Key
const dxl = new DragXcel({
  serverKey: 'dxl_srv_your_api_key'
});

// Generate and Send to everyone matching a filter
const result = await dxl.send({
  subject: 'Your Completion Certificate',
  filter: [
    { column: 'Attendance%', operator: 'gte', value: 75 }
  ],
  smtp: [
    { email: '[email protected]', password: 'xxx', host: 'smtp.gmail.com', port: 465 }
  ]
});

console.log(result.jobId);

3. Real-time Single Generation

Generate a certificate for a one-off event (e.g., as soon as a user clicks a button).

const cert = await dxl.generateOne({
  data: {
    Name: 'Arun Sharma',
    ID: 'CSE001'
  },
  format: 'png'
});

4. Check status

const status = await dxl.status('job_abc123');
console.log(status.sent); // How many emails have been sent so far

5. Utility: Local Filtering

Use the same filtering logic as the DragXcel platform on your own local data arrays.

const data = [
  { name: 'Arun', score: 85 },
  { name: 'Sita', score: 60 }
];

const rules = [{ column: 'score', operator: 'gte', value: 75 }];

const filtered = DragXcel.filterData(data, rules);
// [{ name: 'Arun', score: 85 }]

Filter Operators

| Category | Operator | Description | |----------|----------|-------------| | Text | contains | Value contains the filter string | | Text | equals | Exact match | | Text | starts_with | Value starts with filter string | | Numeric | gt / gte | Greater than / or equal | | Numeric | lt / lte | Less than / or equal |

License

MIT