Comparing version 0.1.7 to 0.1.8
@@ -13,3 +13,3 @@ /** | ||
// The default URL where the enamdict file is located | ||
var enamdictURL = "http://ftp.monash.edu.au/pub/nihongo/enamdict.gz"; | ||
var enamdictURL = "http://ftp.edrdg.org/pub/Nihongo/enamdict.gz"; | ||
@@ -16,0 +16,0 @@ // Download the ENMADICT database |
{ | ||
"name": "enamdict", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Efficiently query ENAMDICT using Node.js.", | ||
@@ -27,8 +27,8 @@ "main": "enamdict.js", | ||
"dependencies": { | ||
"concat-stream": "1.5.2" | ||
"concat-stream": "2.0.0" | ||
}, | ||
"devDependencies": { | ||
"iconv": "2.3.5", | ||
"request": "2.78.0" | ||
"iconv": "3.0.1", | ||
"request": "2.88.2" | ||
} | ||
} |
@@ -48,3 +48,3 @@ node-enamdict | ||
When this package is installed a copy of ENAMDICT is downloaded from [ftp.monash.edu.au](http://ftp.monash.edu.au/pub/nihongo/enamdict.gz), if it doesn't already exist. A couple optimizations are performed in order to speed up search time and to decrease the file size of the dictionary. | ||
When this package is installed a copy of ENAMDICT is downloaded from [ftp.edrdg.org](http://ftp.edrdg.org/pub/Nihongo/enamdict.gz), if it doesn't already exist. A couple optimizations are performed in order to speed up search time and to decrease the file size of the dictionary. | ||
@@ -51,0 +51,0 @@ * To start, ENAMDICT is converted from a EUC-JP encoding to the more-widely-used UTF-8 encoding. |
16
test.js
@@ -10,9 +10,9 @@ var enamdict = require("./enamdict"); | ||
//console.log(keys); | ||
//console.log("amano", enamdict.lookup("amano").type()); | ||
//console.log("kazami", enamdict.lookup("kazami").type()); | ||
//console.log("andoo", enamdict.lookup("andoo").type()); | ||
//console.log("ando", enamdict.lookup("ando").type()); | ||
//console.log("hiroshige", enamdict.lookup("hiroshige").type()); | ||
//console.log("sharaku", enamdict.lookup("sharaku")); | ||
//console.log("tooshuusai", enamdict.lookup("tooshuusai").type()); | ||
console.log("amano", enamdict.find("amano").type()); | ||
console.log("kazami", enamdict.find("kazami").type()); | ||
console.log("andoo", enamdict.find("andoo").type()); | ||
console.log("ando", enamdict.find("ando").type()); | ||
console.log("hiroshige", enamdict.find("hiroshige").type()); | ||
console.log("sharaku", enamdict.find("sharaku")); | ||
console.log("tooshuusai", enamdict.find("tooshuusai").type()); | ||
//console.log(keys.length); | ||
@@ -23,3 +23,3 @@ console.log(enamdict.find("andou").data); | ||
// enamdict.lookupKanji("安藤") | ||
// enamdict.findKanji("安藤") | ||
@@ -26,0 +26,0 @@ // To Test: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2979559
+ Addedbuffer-from@1.1.2(transitive)
+ Addedconcat-stream@2.0.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedtypedarray@0.0.6(transitive)
- Removedconcat-stream@1.5.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@1.0.7(transitive)
- Removedreadable-stream@2.0.6(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedtypedarray@0.0.7(transitive)
Updatedconcat-stream@2.0.0