Comparing version 1.0.0 to 1.0.1
17
index.js
@@ -15,4 +15,5 @@ /*! | ||
/** | ||
* Asynchronously write a file to disk, creating any intermediate | ||
* directories first if they don't already exist. | ||
* Writes files asynchronously, creating any intermediate | ||
* directories if they don't already exist, then either calls | ||
* the callback, if supplied, or returns a promise. | ||
* | ||
@@ -58,4 +59,4 @@ * ```js | ||
/** | ||
* Synchronously write files to disk, creating any intermediate | ||
* directories first if they don't already exist. | ||
* Writes files, creating any intermediate directories if they | ||
* don't already exist, and returns a promise. | ||
* | ||
@@ -100,4 +101,4 @@ * ```js | ||
/** | ||
* Synchronously write files to disk, creating any intermediate | ||
* directories first if they don't already exist. | ||
* Writes files synchronously, creating any intermediate | ||
* directories if they don't already exist. | ||
* | ||
@@ -121,4 +122,4 @@ * ```js | ||
/** | ||
* Uses `fs.createWriteStream`, but also creates any intermediate | ||
* directories first if they don't already exist. | ||
* Uses `fs.createWriteStream` to write the specified file, creating any | ||
* intermediate directories if they don't already exist. | ||
* | ||
@@ -125,0 +126,0 @@ * ```js |
{ | ||
"name": "write", | ||
"description": "Write files to disk, by first creating intermediate directories if they don't exist, then passing through to node's native fs methods.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/jonschlinkert/write", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -21,5 +21,5 @@ # write [![NPM version](https://img.shields.io/npm/v/write.svg?style=flat)](https://www.npmjs.com/package/write) [![NPM monthly downloads](https://img.shields.io/npm/dm/write.svg?style=flat)](https://npmjs.org/package/write) [![NPM total downloads](https://img.shields.io/npm/dt/write.svg?style=flat)](https://npmjs.org/package/write) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/write.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/write) | ||
### [writeFile](index.js#L32) | ||
### [writeFile](index.js#L33) | ||
Asynchronously write a file to disk, creating any intermediate directories first if they don't already exist. | ||
Writes files asynchronously, creating any intermediate directories if they don't already exist, then either calls the callback, if supplied, or returns a promise. | ||
@@ -42,5 +42,5 @@ **Params** | ||
### [.promise](index.js#L74) | ||
### [.promise](index.js#L75) | ||
Synchronously write files to disk, creating any intermediate directories first if they don't already exist. | ||
Writes files, creating any intermediate directories if they don't already exist, and returns a promise. | ||
@@ -63,5 +63,5 @@ **Params** | ||
### [.sync](index.js#L112) | ||
### [.sync](index.js#L113) | ||
Synchronously write files to disk, creating any intermediate directories first if they don't already exist. | ||
Writes files synchronously, creating any intermediate directories if they don't already exist. | ||
@@ -81,5 +81,5 @@ **Params** | ||
### [.stream](index.js#L137) | ||
### [.stream](index.js#L138) | ||
Uses `fs.createWriteStream`, but also creates any intermediate directories first if they don't already exist. | ||
Uses `fs.createWriteStream` to write the specified file, creating any intermediate directories if they don't already exist. | ||
@@ -135,3 +135,3 @@ **Params** | ||
| --- | --- | | ||
| 26 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 31 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 1 | [tunnckoCore](https://github.com/tunnckoCore) | | ||
@@ -138,0 +138,0 @@ |
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
13032
130