Skip to content

Commit

Permalink
Remove annoying buy-me-a-coffee links
Browse files Browse the repository at this point in the history
Use github and npm's official ways to do that.
  • Loading branch information
vbuch authored and Valeri Buchinski committed Mar 1, 2024
1 parent 8e24e2c commit 13b071e
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: ['https://buymeacoffee.com/vbuch?utm_source=github-sponsor-signpdf']
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Known Vulnerabilities](https://snyk.io/test/npm/node-signpdf/badge.svg)](https://snyk.io/test/npm/node-signpdf)
![Coverage as reported by Coveralls](https://img.shields.io/coverallsCoverage/github/vbuch/node-signpdf)
![GitHub last commit](https://img.shields.io/github/last-commit/vbuch/node-signpdf?color=red)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

Formerly known as [`node-signpdf`](https://www.npmjs.com/package/node-signpdf) `@signpdf` is a family of packages trying to make signing of PDFs simple in Node.js.

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
"type": "git",
"url": "https://github.com/vbuch/node-signpdf"
},
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"license": "MIT",
"engines": {
"node": ">=12"
Expand Down
1 change: 0 additions & 1 deletion packages/placeholder-pdf-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
for [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)

[![npm version](https://badge.fury.io/js/@signpdf%2Fplaceholder-pdf-lib.svg)](https://badge.fury.io/js/@signpdf%2Fplaceholder-pdf-lib)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

Works with `PDF-LIB` and given a PDFDocument that is in the works, adds an e-signature placeholder. When the PDF is ready you can convert it to Buffer and pass it to `@signpdf/signpdf` to complete the process.

Expand Down
6 changes: 6 additions & 0 deletions packages/placeholder-pdf-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"pades",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/pdflibAddPlaceholder.js",
"types": "dist/pdflibAddPlaceholder.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/placeholder-pdfkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
for [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)

[![npm version](https://badge.fury.io/js/@signpdf%2Fplaceholder-pdfkit.svg)](https://badge.fury.io/js/@signpdf%2Fplaceholder-pdfkit)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

Works on top of `PDFKit 0.11+` and given a PDFDocument that is in the works, adds an e-signature placeholder. When the PDF is ready you can pass it to `@signpdf/signpdf` to complete the process.

Expand Down
6 changes: 6 additions & 0 deletions packages/placeholder-pdfkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"pades",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/placeholder-pdfkit010/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
for [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)

[![npm version](https://badge.fury.io/js/@signpdf%2Fplaceholder-pdfkit010.svg)](https://badge.fury.io/js/@signpdf%2Fplaceholder-pdfkit010)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

Works on top of `PDFKit 0.10.0` and given a PDFDocument that is in the works, adds an e-signature placeholder. When the PDF is ready you can pass it to `@signpdf/signpdf` to complete the process.

Expand Down
6 changes: 6 additions & 0 deletions packages/placeholder-pdfkit010/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"pades",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/placeholder-plain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
for [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)

[![npm version](https://badge.fury.io/js/@signpdf%2Fplaceholder-plain.svg)](https://badge.fury.io/js/@signpdf%2Fplaceholder-plain)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

Implements adding e-signature placeholder with plain string operations (.indexOf(), .replace(), .match(), etc.). Because of the lack of semantics it is rather *fragile*. Additionally it doesn't support streams and only works on PDF version <= 1.3. Regardless of those disadvantages this flow seems to be **the most popular among the users of @signpdf**.

Expand Down
6 changes: 6 additions & 0 deletions packages/placeholder-plain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"pades",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/plainAddPlaceholder.js",
"files": [
"dist",
Expand Down
1 change: 0 additions & 1 deletion packages/signer-p12/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
for [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)

[![npm version](https://badge.fury.io/js/@signpdf%2Fsigner-p12.svg)](https://badge.fury.io/js/@signpdf%2Fsigner-p12)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

Uses `node-forge` to create a detached signature of a given `Buffer` using a PKCS#12 certificate bundle.

Expand Down
6 changes: 6 additions & 0 deletions packages/signer-p12/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"P12",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/P12Signer.js",
"types": "dist/P12Signer.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/signpdf/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](/)

[![npm version](https://badge.fury.io/js/@signpdf%2Fsignpdf.svg)](https://badge.fury.io/js/@signpdf%2Fsignpdf)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

The main package from the [@signpdf family](/) that tries to make signing of PDFs simple in Node.js.

Expand Down
6 changes: 6 additions & 0 deletions packages/signpdf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"pades",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/signpdf.js",
"files": [
"dist",
Expand Down
1 change: 0 additions & 1 deletion packages/utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
for [![@signpdf](https://raw.githubusercontent.com/vbuch/node-signpdf/master/resources/logo-horizontal.svg?sanitize=true)](https://github.com/vbuch/node-signpdf/)

[![npm version](https://badge.fury.io/js/@signpdf%2Futils.svg)](https://badge.fury.io/js/@signpdf%2Futils)
[![Donate to this project using Buy Me A Coffee](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://buymeacoffee.com/vbuch)

## Usage

Expand Down
6 changes: 6 additions & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"pades",
"digital signature"
],
"funding": [
{
"type": "individual",
"url": "https://buymeacoffee.com/vbuch?utm_source=npm-funding-signpdf"
}
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down

0 comments on commit 13b071e

Please sign in to comment.