mirror of
https://github.com/therootcompany/pem.js.git
synced 2025-05-13 09:36:38 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
a1a0f29c9b | |||
87698d902d | |||
31a3058f35 |
44
README.md
44
README.md
@ -1,21 +1,21 @@
|
|||||||
# @root/pem
|
# @root/pem
|
||||||
|
|
||||||
Lightweight, Zero-Dependency PEM encoder and decoder.
|
|
||||||
|
|
||||||
Built by [The Root Company](https://therootcompany.com)
|
Built by [The Root Company](https://therootcompany.com)
|
||||||
for [Greenlock](https://greenlock.domains)
|
for [Greenlock](https://greenlock.domains)
|
||||||
and [ACME.js](https://git.rootprojects.org/root/acme.js)
|
and [ACME.js](https://git.rootprojects.org/root/acme.js)
|
||||||
|
|
||||||
|
Lightweight, Zero-Dependency PEM encoder and decoder.
|
||||||
|
|
||||||
| ~300b gzipped
|
| ~300b gzipped
|
||||||
| ~650b minified
|
| ~650b minified
|
||||||
| ~1k full
|
| ~1k full
|
||||||
|
|
|
|
||||||
|
|
||||||
- [x] VanillaJS
|
- [x] Zero Dependencies
|
||||||
- [x] Zero-Dependency
|
|
||||||
- [x] Universal Support
|
- [x] Universal Support
|
||||||
- [x] Node.js
|
- [x] Node.js
|
||||||
- [x] Browsers
|
- [x] Browsers
|
||||||
|
- [x] VanillaJS
|
||||||
|
|
||||||
This library supports PEM, which is pretty boring on its own.
|
This library supports PEM, which is pretty boring on its own.
|
||||||
|
|
||||||
@ -76,8 +76,22 @@ but has slightly different code.
|
|||||||
|
|
||||||
## Node (and Webpack)
|
## Node (and Webpack)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install --save @root/pem
|
||||||
|
```
|
||||||
|
|
||||||
```js
|
```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)
|
## Browsers (Vanilla JS)
|
||||||
@ -125,8 +139,18 @@ keys and certificates such as:
|
|||||||
|
|
||||||
# Contributions
|
# 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
|
[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.
|
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
|
help to not just this project, but also our broader work
|
||||||
of [projects](https://rootprojects.org) that fuel the **Indie Web**.
|
of [projects](https://rootprojects.org) that fuel the **Indie Web**.
|
||||||
|
|
||||||
We welcome your support and participation in our community:
|
Also, we chat on [Keybase](https://keybase.io)
|
||||||
|
in [#rootprojects](https://keybase.io/team/rootprojects)
|
||||||
- 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)
|
|
||||||
|
|
||||||
# Commercial Support
|
# Commercial Support
|
||||||
|
|
||||||
|
@ -1,11 +1,17 @@
|
|||||||
{
|
{
|
||||||
"name": "@root/pem",
|
"name": "@root/pem",
|
||||||
"version": "1.0.1",
|
"version": "1.0.4",
|
||||||
"description": "VanillaJS, Lightweight, Zero-Dependency, PEM encoder and decoder.",
|
"description": "VanillaJS, Lightweight, Zero-Dependency, PEM encoder and decoder.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"browser": {
|
"browser": {
|
||||||
"./node/native.js": "./browser/native.js"
|
"./node/native.js": "./browser/native.js"
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"*.js",
|
||||||
|
"node",
|
||||||
|
"browser",
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node tests"
|
"test": "node tests"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user