Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / js-base64 / README.md
index b28653c3c03837558f2171043bbee1aefb8af8c3..4a70bd6cd89c5e2b171d5b77dac3c966a7dad892 100644 (file)
@@ -4,7 +4,9 @@
 
 Yet another Base64 transcoder
 
-## Install
+## Usage
+
+### Install
 
 ```javascript
 $ npm install --save js-base64
@@ -19,14 +21,26 @@ $ npm install --save babel-preset-env
 Note `js-base64` itself is stand-alone so its `package.json` has no `dependencies`.  However, it is also tested on ES6 environment so `"babel-preset-env": "^1.7.0"` is on `devDependencies`.
 
 
-## Usage
-
 ### In Browser
 
+* Locally
+
 ```html
 <script src="base64.js"></script>
 ```
 
+* Directly from CDN.  In which case you don't even need to install.
+
+```html
+<!-- the latest -->
+<script src="https://cdn.jsdelivr.net/npm/js-base64/base64.min.js">
+```
+
+```html
+<!-- with version fixed -->
+<script src="https://cdn.jsdelivr.net/npm/js-base64@2.6.4/base64.min.js">
+```
+
 ### node.js
 
 ```javascript