mirror of https://github.com/status-im/bip39.git
index: move export to bottom
This commit is contained in:
parent
dc4e1ffa33
commit
f3b4f8cc35
3
index.js
3
index.js
|
@ -4,8 +4,6 @@ var includeFolder = require('include-folder')
|
||||||
var Wordlists = includeFolder(path.join(__dirname, 'wordlists'))
|
var Wordlists = includeFolder(path.join(__dirname, 'wordlists'))
|
||||||
var crypto = require('crypto')
|
var crypto = require('crypto')
|
||||||
|
|
||||||
module.exports = BIP39
|
|
||||||
|
|
||||||
function BIP39(language) {
|
function BIP39(language) {
|
||||||
language = language || 'en'
|
language = language || 'en'
|
||||||
this.wordlist = JSON.parse(Wordlists[language])
|
this.wordlist = JSON.parse(Wordlists[language])
|
||||||
|
@ -90,3 +88,4 @@ function lpad(str, padString, length) {
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module.exports = BIP39
|
||||||
|
|
Loading…
Reference in New Issue