mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-18 23:26:40 +00:00
Fix Javascript example in readme
This commit is contained in:
@@ -22,9 +22,9 @@ Flickr short URL is: [`http://flic.kr/p/brXijP`](http://flic.kr/p/brXijP)
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
var Base58 = require('base58')
|
||||
Base58.encode(6857269519) // 'brXijP'
|
||||
Base58.decode('brXijP') // 6857269519
|
||||
var Base58 = require('base58');
|
||||
Base58.encode(6857269519); // 'brXijP'
|
||||
Base58.decode('brXijP'); // 6857269519
|
||||
```
|
||||
|
||||
## Credit
|
||||
|
||||
Reference in New Issue
Block a user