https://github.com/jkga/is-web-monetized
  
  
    A very simple tool for checking if Web Monetization is enabled 
    https://github.com/jkga/is-web-monetized
  
gftwhackaton monetization tool web-monetization
        Last synced: 6 months ago 
        JSON representation
    
A very simple tool for checking if Web Monetization is enabled
- Host: GitHub
 - URL: https://github.com/jkga/is-web-monetized
 - Owner: jkga
 - License: mit
 - Created: 2020-05-12T10:16:13.000Z (over 5 years ago)
 - Default Branch: master
 - Last Pushed: 2025-01-06T02:23:33.000Z (10 months ago)
 - Last Synced: 2025-04-12T18:18:18.036Z (7 months ago)
 - Topics: gftwhackaton, monetization, tool, web-monetization
 - Language: JavaScript
 - Size: 84 KB
 - Stars: 5
 - Watchers: 1
 - Forks: 0
 - Open Issues: 1
 - 
            Metadata Files:
            
- Readme: README.md
 - Funding: .github/FUNDING.yml
 - License: LICENSE
 
 
Awesome Lists containing this project
- awesome-web-monetization - Is web monetized - A very simple tool for checking if Web Monetization is enabled. (Resources / Tools)
 
README
          # :money_with_wings: is-web-monetized
A very simple tool for checking if web monetization is enabled on a certain website
[](https://github.com/standard/standard)
## What is Web Monetization ?
**Web Monetization** is an **API** that allows websites to request **small payments** from users facilitated by the browser and the user's Web Monetization provider.
[](webmonetization.org)
###  Official Website: https://webmonetization.org/   
### Specifications: https://webmonetization.org/specification.html
## Installation
```javascript
  npm install is-web-monetized
```
## Usage
You can check if the website uses the Web Monetization API without going to the website.   
> :bulb: Node module MUST be installed globally   
```javascript
  npm install is-web-monetized -g
```
In your terminal, run `monetized [URL]`
```bash
  monetized example.com 
```
or using as a dependency 
```javascript
  const { isWebMonetized } from 'is-web-monetized'
  const url = 'example.com'
  isWebMonetized(url).then(obj => {
    /*
      {
        monetized ,
        url ,
        content ,
      }
    */
    console.log(obj)
  }).catch(err => console.log(err))
```
## Support
Do you think this is cool? don't hesitate to buy me some coffee!   
        
