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

vow-fs

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vow-fs - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

lib/fs.js

@@ -9,3 +9,3 @@ /**

*
* @version 0.1.0
* @version 0.1.1
*/

@@ -108,3 +108,9 @@

*/
exists : promisify(fs.exists),
exists : function(path) {
var promise = Vow.promise();
fs.exists(path, function(exists) {
promise.fulfill(exists);
});
return promise;
},

@@ -111,0 +117,0 @@ /**

2

package.json
{
"name" : "vow-fs",
"version" : "0.1.0",
"version" : "0.1.1",
"description" : "File I/O by Vow",

@@ -5,0 +5,0 @@ "homepage" : "https://github.com/dfilatov/vow-fs",

@@ -1,5 +0,7 @@

var fs = require('./lib/fs');
var fs = require('./lib/fs'),
path = require('path');
fs.isFile('package.json').then(function(isFile) {
console.log(isFile);
});
fs.exists(path.dirname(path.resolve('/a/b'))).then(function(ex) {
console.log(ex);
})
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