mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-18 23:26:40 +00:00
Update the readme
- Change var to const in the usage guidelines.
This commit is contained in:
@@ -20,7 +20,7 @@ Flickr short URL is: `http://flic.kr/p/brXijP`
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var Base58 = require('base58');
|
const Base58 = require('base58');
|
||||||
Base58.encode(6857269519); // 'brXijP'
|
Base58.encode(6857269519); // 'brXijP'
|
||||||
Base58.decode('brXijP'); // 6857269519
|
Base58.decode('brXijP'); // 6857269519
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user