projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website]
/
node_modules
/
tempfile
/
index.js
1
'use strict';
2
var path = require('path');
3
var osTmpdir = require('os-tmpdir');
4
var uuid = require('uuid');
5
var TMP_DIR = osTmpdir();
6
7
module.exports = function (ext) {
8
return path.join(TMP_DIR, uuid.v4() + (ext || ''));
9
};