preact-material-components
Version:
preact wrapper for "Material Components for the web"
37 lines (19 loc) • 577 B
Markdown
tempfile [](https://travis-ci.org/sindresorhus/tempfile)
Get a random temp file path
# Install
```sh
npm install --save tempfile
```
# Usage
```js
var tempfile = require('tempfile');
tempfile('.png');
//=> /var/folders/_1/tk89k8215ts0rg0kmb096nj80000gn/T/4049f192-43e7-43b2-98d9-094e6760861b.png
```
# API
## tempfile(extension)
### extension
Type: `string`
Optionally supply an extension to append to the path.
# License
MIT © [Sindre Sorhus](http://sindresorhus.com)