Socket
Socket
Sign inDemoInstall

temp-write

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temp-write - npm Package Compare versions

Comparing version 0.3.1 to 1.0.0

4

package.json
{
"name": "temp-write",
"version": "0.3.1",
"description": "Write String/Buffer to a random temp file",
"version": "1.0.0",
"description": "Write string/buffer to a random temp file",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "sindresorhus/temp-write",

# temp-write [![Build Status](https://travis-ci.org/sindresorhus/temp-write.svg?branch=master)](https://travis-ci.org/sindresorhus/temp-write)
> Write String/Buffer to a random temp file
> Write string/buffer to a random temp file

@@ -8,3 +8,3 @@

```bash
```sh
$ npm install --save temp-write

@@ -42,7 +42,7 @@ ```

*Required*
Type: `String`|`Buffer`
Type: `string`, `buffer`
#### filepath
Type: `String`
Type: `string`
Example: `'img.png'`, `'foo/bar/baz.png'`

@@ -55,7 +55,7 @@

*Required*
Type: `Function`
Type: `function`
### tempWrite.sync(input)
Type: `String`|`Buffer`
Type: `string`, `buffer`
Returns: the filepath

@@ -66,2 +66,2 @@

[MIT](http://opensource.org/licenses/MIT) © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](http://sindresorhus.com)
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