Socket
Socket
Sign inDemoInstall

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.3.2 to 0.3.3

10

lib/fs.js
/**
* @module vow-fs
* @author Filatov Dmitry <dfilatov@yandex-team.ru>
* @version 0.3.2
* @version 0.3.3
* @license

@@ -71,3 +71,3 @@ * Dual licensed under the MIT and GPL licenses:

* @param {String} path
* @param {String} [encoding=utf8]
* @param {String} [encoding]
* @returns {vow:Promise}

@@ -81,3 +81,3 @@ */

* @param {String|Buffer} data
* @param {String} [encoding=utf8]
* @param {String} [encoding]
* @returns {vow:Promise}

@@ -91,3 +91,3 @@ */

* @param {String|Buffer} data
* @param {String} [encoding=utf8]
* @param {String} [encoding]
* @returns {vow:Promise}

@@ -362,3 +362,3 @@ */

if(typeof opts.openFileLimit !== 'undefined') {
openFilesQueue.params({ weightLimit : opts.openFileLimit });
openFilesQueue.setParams({ weightLimit : opts.openFileLimit });
}

@@ -365,0 +365,0 @@ }

{
"name" : "vow-fs",
"version" : "0.3.2",
"version" : "0.3.3",
"description" : "File I/O by Vow",

@@ -19,3 +19,3 @@ "homepage" : "https://github.com/dfilatov/vow-fs",

"vow" : "0.4.4",
"vow-queue" : "0.3.1",
"vow-queue" : "0.4.1",
"glob" : "3.2.8"

@@ -22,0 +22,0 @@ },

@@ -23,7 +23,7 @@ vow-fs [![NPM version](https://badge.fury.io/js/vow-fs.png)](http://badge.fury.io/js/vow-fs) [![Build Status](https://secure.travis-ci.org/dfilatov/vow-fs.png)](http://travis-ci.org/dfilatov/vow-fs)

---
####read(path, [encoding=utf8])####
####read(path, [encoding])####
Returns a promise for the file's content at a given ````path````.
####write(path, data, [encoding=utf8])####
####write(path, data, [encoding])####
Writes ````data```` to file at a given ````path````. Returns a promise for the completion of the operation.
####append(path, data, [encoding=utf8])####
####append(path, data, [encoding])####
Appends````data```` to file's content at a given ````path````. Returns a promise for the completion of the operation.

@@ -30,0 +30,0 @@ ####remove(path)####

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