Compare commits

...

3 Commits

Author SHA1 Message Date
AJ ONeal a1a0f29c9b v1.0.4: fix a few typos 2019-10-13 00:43:49 -06:00
AJ ONeal 87698d902d v1.0.3: bump for npm to rebuild README 2019-10-12 19:39:52 -06:00
AJ ONeal 31a3058f35 v1.0.2: update docs 2019-10-12 19:38:25 -06:00
2 changed files with 39 additions and 13 deletions

View File

@ -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

View File

@ -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"
},