Comparing version 3.0.1 to 3.1.0
exports.version = "3.0"; // this is the WordNet DB version | ||
exports.version = "3.1"; // this is the WordNet DB version | ||
exports.path = require('path').join(__dirname, "dict"); | ||
exports.files = require('fs').readdirSync(exports.path); |
{ | ||
"author": "Moos <mooster@42at.com>", | ||
"name": "WNdb", | ||
"description": "WordNet 3.0 Database files", | ||
"description": "WordNet 3.1 Database files", | ||
"keywords": ["WordNet", "wordpos", "natural", "pos"], | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"homepage": "http://wordnet.princeton.edu/", | ||
@@ -21,4 +21,4 @@ "repository": { | ||
"scripts": { | ||
"postinstall": "node unpack.js WNdb-3.0.tar.gz" | ||
"postinstall": "node unpack.js WNdb-3.1.tar.gz" | ||
} | ||
} |
@@ -10,11 +10,38 @@ | ||
Installation | ||
------------ | ||
npm install WNdb | ||
or in your package.json dependencies: | ||
``` | ||
... | ||
"dependencies": { | ||
"WNdb": "WNdb" | ||
}, | ||
... | ||
``` | ||
Package is about __10 MB__ in size and uncompresses to about 34 MB. The DB file WNdb-3.1.tar.gz is unpacked at install time. | ||
Description | ||
------------ | ||
This package contains the core DB files of WordNet 3.1 downloaded from [WordNet files](http://wordnet.princeton.edu/wordnet/download/current-version/). | ||
Other "[standoff](http://wordnet.princeton.edu/wordnet/download/standoff/)" files may be added in the future. | ||
The purpose of this package is to allow a convenient way to download WordNet files off-line rather than on-demand for node modules that require it. | ||
Usage | ||
------- | ||
```js | ||
var WNdb = require('WNdb'); | ||
console.log(WNdb); | ||
// output: | ||
{ version: '3.0', | ||
{ version: '3.1', | ||
path: 'c:\\wordpos\\node_modules\\WNdb\\dict', | ||
@@ -34,29 +61,2 @@ files: | ||
Description | ||
------------ | ||
This package contains the core DB files of WordNet 3.0 downloaded from [WordNet files](http://wordnet.princeton.edu/wordnet/download/current-version/). | ||
Other "[standoff](http://wordnet.princeton.edu/wordnet/download/standoff/)" files may be added in the future. | ||
The purpose of this package is to allow a convenient way to download WordNet files offline rather than on-demand for node modules that require it. | ||
Installation | ||
------------ | ||
npm install WNdb | ||
or, use a git url in your package.json dependencies: | ||
``` | ||
... | ||
"dependencies": { | ||
"WNdb": "git://github.com/moos/WNdb.git" | ||
}, | ||
... | ||
``` | ||
Package is about __10 MB__ in size and uncompresses to about 34 MB. | ||
Properties | ||
@@ -77,7 +77,10 @@ ------------ | ||
v3.0.0 -- includes the uncompressed (text) dict files. On Windows systems, do a `git config core.autocrlf false` before cloning so that CRLF isn't applied to data files. | ||
v3.0.0 -- includes the uncompressed (text) dict files. On Windows systems, do a `git config core.autocrlf false` before _cloning_ so that CRLF isn't applied to data files. | ||
v3.0.1 -- this includes the actual WordNet tar file, which is unpacked at install time. There should be no CRLF issues. Uses build-in 'zlib' package, therefore requires node > 0.6. | ||
v3.0.1 -- this includes the actual WordNet tar file, which is unpacked at install time. There should be no CRLF issues. Uses build-in 'zlib' package, therefore requires node >= 0.6. | ||
v3.1.0 -- updated to WordNet 3.1 DB. | ||
License | ||
@@ -87,3 +90,3 @@ ------- | ||
WNdb package: | ||
Copyright (c) 2012, mooster@42at.com | ||
Copyright (c) 2012, 2014, mooster@42at.com | ||
(The MIT License) | ||
@@ -90,0 +93,0 @@ |
/* | ||
* this script will unpack the WordNet DB file at install-time | ||
* Usage: node unpack.js WNdb-3.0.tar.gz | ||
* Usage: node unpack.js WNdb-3.1.tar.gz | ||
* Requires build-it 'zlib' (node >= 0.6) | ||
@@ -5,0 +5,0 @@ */ |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
14
93
9907333