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

file-async

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-async - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

examples/create-check-remove.js

2

index.js

@@ -1,1 +0,1 @@

exports.fsAsync = require('./lib/src').FileAsync;
module.exports = require('./lib/src/file-async');
{
"name": "file-async",
"version": "0.1.0",
"version": "0.1.1",
"description": "fs-extra + bluebird promisify",
"main": "index.js",
"dependencies": {
"babel-runtime": "^5.5.6",
"bluebird": "^2.9.27",

@@ -18,3 +17,5 @@ "fs-extra": "^0.19.0",

"scripts": {
"test": "gulp test"
"start": "example/index.js",
"test": "./node_modules/.bin/gulp lint test",
"deploy": "./node_modules/.bin/npm-deploy"
},

@@ -21,0 +22,0 @@ "repository": {

@@ -27,3 +27,3 @@ # file-async

// check
return h.expect(file_stat.isFile()).to.be.equal(true);
console.log(TMP_FILE_PATH, 'is a file?', file_stat.isFile());
})

@@ -40,3 +40,3 @@ .then(function() {

// check again
return h.expect(file_exists).to.be.equal(false);
console.log(TMP_FILE_PATH, 'is a file?', file_exists);
});

@@ -43,0 +43,0 @@ ```

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