Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 28, 2019
1 parent 1b87cb1 commit f40d3de
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 47 deletions.
90 changes: 44 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,48 @@
{
"name": "temp-write",
"version": "3.4.0",
"description": "Write string/buffer/stream to a random temp file",
"license": "MIT",
"repository": "sindresorhus/temp-write",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"name": "temp-write",
"version": "3.4.0",
"description": "Write string/buffer/stream to a random temp file",
"license": "MIT",
"repository": "sindresorhus/temp-write",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"tmp",
"temp",
"temporary",
"tempfile",
"file",
"filename",
"path",
"random",
"rand",
"write",
"fs",
"string",
"buffer",
"stream"
],
"dependencies": {
"graceful-fs": "^4.1.15",
"is-stream": "^2.0.0",
"make-dir": "^3.0.0",
"temp-dir": "^1.0.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
],
"keywords": [
"temp",
"temporary",
"tempfile",
"file",
"filename",
"path",
"random",
"write",
"fs",
"string",
"buffer",
"stream"
],
"dependencies": {
"graceful-fs": "^4.1.15",
"is-stream": "^2.0.0",
"make-dir": "^3.0.0",
"temp-dir": "^1.0.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Data to write to the temp file. Streams are supported only with the async API.
#### filePath

Type: `string`<br>
Example: `'img.png'` `'foo/bar/baz.png'`
Examples: `'img.png'` `'foo/bar/baz.png'`

Optionally supply a file path which is appended to the random path.

Expand Down

0 comments on commit f40d3de

Please sign in to comment.