Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

helper

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helper - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"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!
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