Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a1a0f29c9b | 
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							| @ -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) | ||||||
|  | |||||||
| @ -1,11 +1,17 @@ | |||||||
| { | { | ||||||
| 	"name": "@root/pem", | 	"name": "@root/pem", | ||||||
| 	"version": "1.0.3", | 	"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