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

@iota-big3/nonprofit-config

v1.0.0

Published

Nonprofit platform configuration using existing SDK packages

Downloads

1

Readme

Nonprofit Configuration Package

A configuration-only package that composes existing IOTA Big3 SDK packages to create a trustworthy nonprofit platform. Built on First Principles: Trust = Transparency + Security + Compliance.

🎯 Philosophy

This package follows the First Principles approach:

  1. Don't Duplicate - We compose existing SDK packages rather than creating nonprofit-specific versions
  2. Immutable Events - Every action is an append-only event for perfect audit trails
  3. Compliance First - Security and regulatory compliance are foundational, not features
  4. Trust Over Speed - We optimize for accuracy and transparency, not transaction volume

📦 Architecture

nonprofit-platform/
├── Event Store (sdk-events)         # Immutable audit trail
├── Compliance Engine (sdk-compliance)  # 501(c)(3) rules
├── Payment Processor (sdk-payment)     # Secure donations
├── Security Layer (sdk-security)       # Zero-trust architecture
└── Observability (sdk-observability)   # Real-time monitoring

🚀 Quick Start

import {
  NonprofitEventStore,
  NonprofitPaymentHandler,
  NonprofitComplianceConfig,
} from "@iota-big3/nonprofit-config";

// Initialize with existing SDKs
const eventBus = new EventBus();
const paymentSDK = new PaymentProcessor({ provider: "stripe" });
const complianceSDK = new ComplianceSDK({ tenantId: "nonprofit-123" });

// Create nonprofit-specific configuration
const eventStore = new NonprofitEventStore(eventBus, auditLogger);
const paymentHandler = new NonprofitPaymentHandler(
  paymentSDK,
  complianceSDK,
  eventStore
);

// Process donation with full compliance
const result = await paymentHandler.processDonation({
  amount: 100,
  currency: "USD",
  donorId: "donor-123",
  donorEmail: "[email protected]",
  taxDeductible: true,
});

📋 Implementation Phases

Phase 1: Foundation (Weeks 1-4) ✅

  • [x] Event-sourced architecture
  • [x] Compliance rules engine
  • [x] Immutable audit trail
  • [x] Security configuration

Phase 2: Payment Security (Weeks 5-8) 🚧

  • [x] Payment handler with compliance
  • [ ] Receipt generation
  • [ ] Fraud detection
  • [ ] Recurring donations

Phase 3: Trust Features (Weeks 9-12) 📅

  • [ ] Real-time transparency dashboard
  • [ ] Public impact reporting
  • [ ] Donor portal
  • [ ] Automated compliance reports

🔒 Security & Compliance

501(c)(3) Requirements

  • No political campaign activity
  • No private benefit/inurement
  • Tax receipts for donations > $250
  • Quid pro quo disclosure > $75

International Compliance

  • GDPR for EU donors
  • Canada Revenue Agency rules
  • UK Charity Commission requirements

Data Protection

  • AES-256 encryption at rest
  • TLS 1.3 in transit
  • 90-day key rotation
  • Role-based access control

📊 Event-Sourced Architecture

Every action creates an immutable event:

// Traditional approach (mutable state) ❌
UPDATE donors SET total_donated = total_donated + 100;

// Event-sourced approach (immutable events) ✅
await eventStore.recordEvent({
  type: 'DONATION_RECEIVED',
  data: { donorId, amount: 100 },
  timestamp: new Date()
});

Benefits:

  • Perfect audit trails for regulators
  • Time-travel debugging
  • Complete transaction history
  • Impossible to lose data

🎯 Success Metrics

We measure trust, not volume:

| Metric | Target | Why It Matters | | ----------------- | ------ | ----------------------------- | | Compliance Score | 100% | Zero tolerance for violations | | Receipt Accuracy | 100% | IRS requirements | | Audit Coverage | 100% | Every transaction traceable | | Security Breaches | 0 | Donor trust is paramount | | Processing Fees | <2% | More money to the cause |

⚠️ What This Is NOT

  • ❌ NOT a standalone payment processor
  • ❌ NOT a complete nonprofit CRM
  • ❌ NOT a frontend application
  • ✅ Configuration layer for existing SDKs
  • ✅ Compliance rules and workflows
  • ✅ Trust-building architecture

🤝 Integration with Existing SDKs

| SDK Package | Purpose | How We Use It | | -------------- | ------------ | --------------------- | | sdk-events | Event bus | Immutable audit trail | | sdk-payment | Payments | Donation processing | | sdk-compliance | Rules engine | 501(c)(3) validation | | sdk-billing | Invoicing | Receipt generation | | sdk-security | Security | Encryption & access | | sdk-database | Storage | Event persistence |

🚨 Critical Implementation Notes

  1. Never Update Events - Events are immutable. Create new events for corrections.
  2. Compliance First - Always validate compliance before processing payments.
  3. Fail Safe - When in doubt, reject the transaction and request human review.
  4. Document Everything - Every decision must have an audit trail.

📚 Additional Resources


Remember: For nonprofits, trust is everything. One compliance failure or security breach can destroy years of donor relationships. Build for trust, not speed.