From a1a0f29c9b14ad6810ca42fed2690d17bd3de087 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 13 Oct 2019 00:43:49 -0600 Subject: [PATCH] v1.0.4: fix a few typos --- README.md | 16 +++++++++++++++- package.json | 8 +++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 02a2f1c..cb4c697 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index 8afa336..9cac4ad 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,17 @@ { "name": "@root/pem", - "version": "1.0.3", + "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" },