Skip to content

Chimoney/non-profit-donations

Repository files navigation

Logo project

non-profit-donations

Get and manage verified non-profits and send donations to them using their verified Interledger payment pointer, ENS name, Paystring, Mobile money number, Airtime phone number and other crypto or payment addresses.

code style: prettier Twitter


Content

Features ✨

  • Get a list of verified Non-profits
  • Filter by location, verification status, accepted donation method and many more
  • Get a random non-profit to make an instant donation
  • Get non-profits that accept your preferred donation medium
  • And more. Please, contribute.

Installation 🐙

Yarn:

yarn add non-profit-donations

npm:

npm install --save non-profit-donations

Usage 💡

Example (es module)

import { verifiedNonprofits } from 'non-profit-donations';
console.log(verifiedNonprofits());

Example (commonjs)

var verifiedNonprofits = require('non-profit-donations').verifiedNonprofits;
console.log(verifiedNonprofits());

Result

[
  {
    name: 'SheCodeAfrica',
    email: 'info@shecodeafrica.org',
    country: 'Nigeria',
    website: 'shecodeafrica.org',
    logo: 'https://www.shecodeafrica.org/images/she-code-africa-logo.svg',
    foundedYear: '2016',
    description:
      'A non-profit organisation focused on celebrating and empowering young girls and women in tech across Africa.',
    isVerified: true,
    verifications: [
      {
        date: new Date('Oct 4, 2021'),
        verifier: '@uchibeke',
      },
    ],
    paymentMethods: [
      {
        type: 'interledger',
        paymentID: '$ilp.uphold.com/kkd4KdPQwqJM',
      },
  },
  {
    name: 'Internet Archive',
    email: 'info@archive.org',
    country: 'United States',
    website: 'https://archive.org/',
    logo: 'https://anniversary.archive.org/wp-content/themes/anniversary/images/logo-white.svg',
    foundedYear: '1996',
    description:
      'Internet Archive is a non-profit digital library offering millions of free books, movies, & audio files, plus billions of saved web pages in the Wayback Machine',
    isVerified: true,
    verifications: [
      {
        date: new Date('Oct 11, 2021'),
        verifier: '@uchibeke',
      },
    ],
    paymentMethods: [
      {
        type: 'interledger',
        paymentID: '$ilp.uphold.com/D7BwPKMQzBiD',
      },
      {
        type: 'xrp',
        paymentID: 'rGeyCsqc6vKXuyTGF39WJxmTRemoV3c97h',
      },
    ],
  },
  .
  .
  .
]

Documentation 📄

Documentation is at chimoney.github.io/non-profit-donations

API 👩‍💻

API is at chimoney.github.io/non-profit-donations

Contributing 🍰

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to this project!

Maintainers 👷

Uchi Uchibeke
Uchi Uchibeke

💻

License ⚖️

MIT ©