Comparing version 1.0.1 to 1.0.2
@@ -72,2 +72,8 @@ // Copyright (C) 2015 IBM Corporation and Others. All Rights Reserved. | ||
} | ||
var datPath = module.exports.datPath = function datPath(d) { | ||
if(!d) d = icudat; | ||
if(haveDat(d)) return fs.realpathSync(d); | ||
throw Error('Does not exist: ' + fs.realpathSync(d)); | ||
} | ||
} |
{ | ||
"name": "full-icu", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "install 'full-icu' data for your current node", | ||
@@ -11,2 +11,5 @@ "scripts": { | ||
], | ||
"bin": { | ||
"node-full-icu-path": "./node-icu-data.js" | ||
}, | ||
"main": "full-icu.js", | ||
@@ -13,0 +16,0 @@ "author": "The ICU Team; © 1997-2015 IBM Corporation and Others, All Rights Reserved", |
@@ -50,2 +50,7 @@ Install full ICU data | ||
BIN | ||
=== | ||
`node-full-icu-path` will print the full `icudt*.dat` path, if available. | ||
MIRROR | ||
@@ -52,0 +57,0 @@ === |
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
30914
9
218
69