Socket
Socket
Sign inDemoInstall

WNdb

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

WNdb - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

.buildpath

2

index.js
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 @@ */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc