Comparing version 0.0.4 to 0.0.5
@@ -5,4 +5,4 @@ { | ||
"keywords": ["language", "detect", "language detection"], | ||
"version": "0.0.4", | ||
"main": "./build/default/cld", | ||
"version": "0.0.5", | ||
"main": "./index", | ||
"dependencies": { | ||
@@ -9,0 +9,0 @@ }, |
#!/usr/bin/env node | ||
var cld = null; | ||
var cld = require('../index'); | ||
var data = require('./data'); | ||
var assert = require('assert'); | ||
try { | ||
cld = require('../build/default/cld'); | ||
} catch(e) { | ||
// node v0.5.5+ | ||
cld = require('../build/Release/cld'); | ||
} | ||
function runOne(expectedLangName, text, shouldBeReliable) { | ||
@@ -15,0 +8,0 @@ var detectionResult = cld.detect(text); |
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
7588776
115