Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "helper", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Node.js portability and api helper", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,6 +6,11 @@ helper | ||
Atm implementes OS and node version safe directory separator and exports existsSync() | ||
that changed locations from path to fs between node.js versions 0.6 -> 0.8. | ||
Atm implemented OS safe directory separator and exports existsSync() that changed | ||
locations from path to fs between node.js versions 0.6 -> 0.8. | ||
Usage: | ||
npm install helper | ||
Code: | ||
var helper = require('helper'); | ||
@@ -15,6 +20,8 @@ helper.existsSync(..); | ||
Using helper this way you don't have to think what OS you are using and what version | ||
of node you are using. existsSync() is same as path.existsSync/fs.existsSync. | ||
This way you don't have to think what OS, versions or modules you use or need to use. | ||
Idea is to gather this kind of stuff that can help app developers. | ||
helper.existsSync() is same method as path.existsSync/fs.existsSync. | ||
helper.sep is slash or backslash depending on OS. | ||
Idea is to gather this kind of stuff. | ||
Patches are welcome! |
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
1457
26