mirror of
https://github.com/therootcompany/pem.js.git
synced 2025-05-09 15:46:39 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
a1a0f29c9b | |||
87698d902d | |||
31a3058f35 |
44
README.md
44
README.md
@ -1,21 +1,21 @@
|
||||
# @root/pem
|
||||
|
||||
Lightweight, Zero-Dependency PEM encoder and decoder.
|
||||
|
||||
Built by [The Root Company](https://therootcompany.com)
|
||||
for [Greenlock](https://greenlock.domains)
|
||||
and [ACME.js](https://git.rootprojects.org/root/acme.js)
|
||||
|
||||
Lightweight, Zero-Dependency PEM encoder and decoder.
|
||||
|
||||
| ~300b gzipped
|
||||
| ~650b minified
|
||||
| ~1k full
|
||||
|
|
||||
|
||||
- [x] VanillaJS
|
||||
- [x] Zero-Dependency
|
||||
- [x] Zero Dependencies
|
||||
- [x] Universal Support
|
||||
- [x] Node.js
|
||||
- [x] Browsers
|
||||
- [x] VanillaJS
|
||||
|
||||
This library supports PEM, which is pretty boring on its own.
|
||||
|
||||
@ -76,8 +76,22 @@ but has slightly different code.
|
||||
|
||||
## Node (and Webpack)
|
||||
|
||||
```bash
|
||||
npm install --save @root/pem
|
||||
```
|
||||
|
||||
```js
|
||||
npm install -g @root/pem
|
||||
var PEM = require('@root/pem');
|
||||
```
|
||||
|
||||
```js
|
||||
// just the packer
|
||||
var PEM = require('@root/pem/packer');
|
||||
```
|
||||
|
||||
```js
|
||||
// just the parser
|
||||
var PEM = require('@root/pem/parser');
|
||||
```
|
||||
|
||||
## Browsers (Vanilla JS)
|
||||
@ -125,8 +139,18 @@ keys and certificates such as:
|
||||
|
||||
# Contributions
|
||||
|
||||
Did this project save you some time? Maybe make your day? Even save the day?
|
||||
|
||||
Please say "thanks" via Paypal or Patreon:
|
||||
|
||||
- Paypal: [\$5](https://paypal.me/rootprojects/5) | [\$10](https://paypal.me/rootprojects/10) | Any amount: <paypal@therootcompany.com>
|
||||
- Patreon: <https://patreon.com/rootprojects>
|
||||
|
||||
Where does your contribution go?
|
||||
|
||||
[Root](https://therootcompany.com) is a collection of experts
|
||||
who trust each other, enjoy working together, and communally share work.
|
||||
who trust each other and enjoy working together on deep-tech,
|
||||
Indie Web projects.
|
||||
|
||||
Our goal is to operate as a sustainable community.
|
||||
|
||||
@ -134,12 +158,8 @@ Your contributions - both in code and _especially_ monetarily -
|
||||
help to not just this project, but also our broader work
|
||||
of [projects](https://rootprojects.org) that fuel the **Indie Web**.
|
||||
|
||||
We welcome your support and participation in our community:
|
||||
|
||||
- Paypal: [\$5](https://paypal.me/rootprojects/5) [\$10](https://paypal.me/rootprojects/10) Any amount: <paypal@therootcompany.com>
|
||||
- Patreon: <https://patreon.com/rootprojects>
|
||||
|
||||
We chat on [Keybase#rootprojects](https://keybase.io/team/rootprojects)
|
||||
Also, we chat on [Keybase](https://keybase.io)
|
||||
in [#rootprojects](https://keybase.io/team/rootprojects)
|
||||
|
||||
# Commercial Support
|
||||
|
||||
|
@ -1,11 +1,17 @@
|
||||
{
|
||||
"name": "@root/pem",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.4",
|
||||
"description": "VanillaJS, Lightweight, Zero-Dependency, PEM encoder and decoder.",
|
||||
"main": "index.js",
|
||||
"browser": {
|
||||
"./node/native.js": "./browser/native.js"
|
||||
},
|
||||
"files": [
|
||||
"*.js",
|
||||
"node",
|
||||
"browser",
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "node tests"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user