modif comtabilite
This commit is contained in:
+15
-7
@@ -4,6 +4,21 @@
|
||||
|
||||
Yet another Base64 transcoder
|
||||
|
||||
## Install
|
||||
|
||||
```javascript
|
||||
$ npm install --save js-base64
|
||||
```
|
||||
|
||||
If you are using it on ES6 transpilers, you may also need:
|
||||
|
||||
```javascript
|
||||
$ 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
|
||||
@@ -24,13 +39,6 @@ var Base64 = require('js-base64').Base64;
|
||||
import { Base64 } from 'js-base64';
|
||||
```
|
||||
|
||||
### npm
|
||||
|
||||
```javascript
|
||||
$ npm install --save js-base64
|
||||
```
|
||||
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
```javascript
|
||||
|
||||
Reference in New Issue
Block a user