{"_id":"tmp-filepath","_rev":"480618","name":"tmp-filepath","description":"Generate temporary filepath string (without writing to disk). Using scaleable, secure and fast cross-platform [cuid][] package","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"time":{"modified":"2021-08-05T09:34:50.000Z","created":"2015-05-23T02:35:25.685Z","2.0.0":"2017-01-03T00:24:05.680Z","1.0.0":"2015-05-23T02:46:59.461Z","0.2.0":"2015-05-23T02:43:15.861Z","0.1.0":"2015-05-23T02:36:11.489Z","0.0.0":"2015-05-23T02:35:25.685Z"},"users":{},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"repository":{"type":"git","url":"git+https://github.com/tunnckocore/tmp-filepath.git"},"versions":{"2.0.0":{"name":"tmp-filepath","version":"2.0.0","description":"Generate temporary filepath string (without writing to disk). Using scaleable, secure and fast cross-platform [cuid][] package","repository":{"type":"git","url":"git+https://github.com/tunnckocore/tmp-filepath.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://i.am.charlike.online"},"precommit.silent":true,"main":"index.js","license":"MIT","scripts":{"lint":"standard --verbose","pretest":"npm run lint","test":"npm run coverage","posttest":"npm run lint:coverage","coverage":"nyc node test.js","lint:coverage":"nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100","report-coverage":"nyc report --reporter=text-lcov | coveralls","prerelease":"npm test","release":"standard-version --sign --no-verify","precommit":"git add --all","commit":"git-cz"},"dependencies":{"cuid":"^1.3.8","global":"^4.3.1"},"devDependencies":{"commitizen":"^2.9.2","coveralls":"^2.11.15","cz-conventional-changelog":"^1.2.0","mukla":"^0.4.8","nyc":"^10.0.0","pre-commit":"^1.2.2","standard":"^8.6.0","standard-version":"^4.0.0"},"files":["index.js"],"keywords":["cross","disk","file","filepath","fp","gen","generate","platform","temp","tmp"],"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4","npm":">=2"},"verb":{"run":true,"toc":{"render":true,"method":"preWrite","maxdepth":3,"footer":""},"layout":"empty","tasks":["readme"],"related":{"list":["always-done","minibase","try-catch-core","rollup","rolldown","each-promise","mukla","tempfile","tmp-file"],"highlight":"always-done"},"reflinks":["always-done","async-done","base","charlike","commitizen","cuid","dezalgo","once","standard-version","verb","verb-generate-readme"],"lint":{"reflinks":true}},"gitHead":"75e02ca38c53370368a0e8d6c390f1b4952295df","bugs":{"url":"https://github.com/tunnckocore/tmp-filepath/issues"},"homepage":"https://github.com/tunnckocore/tmp-filepath#readme","_id":"tmp-filepath@2.0.0","_shasum":"54608c6a6b06e7d076c47dde24706a1275b5d9a9","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"54608c6a6b06e7d076c47dde24706a1275b5d9a9","size":5171,"noattachment":false,"key":"/tmp-filepath/-/tmp-filepath-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tmp-filepath/download/tmp-filepath-2.0.0.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tmp-filepath-2.0.0.tgz_1483403044999_0.23012614529579878"},"directories":{},"publish_time":1483403045680,"_cnpm_publish_time":1483403045680,"_hasShrinkwrap":false},"1.0.0":{"name":"tmp-filepath","version":"1.0.0","description":"Generate temporary filepath string (without writing to disk), using scaleable, secure and fast cross-platform `cuid` and `os-tmpdir`","repository":{"type":"git","url":"git+https://github.com/tunnckocore/tmp-filepath.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"cuid":"~1.2.5","os-tmpdir":"~1.0.1"},"devDependencies":{"assertit":"^0.1.0"},"keywords":["cross","disk","file","filepath","fp","gen","generate","platform","temp","tmp"],"gitHead":"e0c6aee33282aba4e4de2eb596da8ba7147462b0","bugs":{"url":"https://github.com/tunnckocore/tmp-filepath/issues"},"homepage":"https://github.com/tunnckocore/tmp-filepath#readme","_id":"tmp-filepath@1.0.0","_shasum":"fd44036262dd9b7a2b128905a37a012629e904c8","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"fd44036262dd9b7a2b128905a37a012629e904c8","size":4074,"noattachment":false,"key":"/tmp-filepath/-/tmp-filepath-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tmp-filepath/download/tmp-filepath-1.0.0.tgz"},"directories":{},"publish_time":1432349219461,"_cnpm_publish_time":1432349219461,"_hasShrinkwrap":false},"0.2.0":{"name":"tmp-filepath","version":"0.2.0","description":"Generate temp filepath (without write to disk) cross platform","repository":{"type":"git","url":"git+https://github.com/tunnckocore/tmp-filepath.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"cuid":"^1.2.5","os-tmpdir":"^1.0.1"},"devDependencies":{"assertit":"^0.1.0"},"keywords":["cross","disk","file","filepath","fp","gen","generate","platform","temp","tmp"],"gitHead":"d706326206f277fef47dfe43268a756d6726968d","bugs":{"url":"https://github.com/tunnckocore/tmp-filepath/issues"},"homepage":"https://github.com/tunnckocore/tmp-filepath#readme","_id":"tmp-filepath@0.2.0","_shasum":"5b4f849cb7bb6b9441379c594065e5167aaa8234","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"5b4f849cb7bb6b9441379c594065e5167aaa8234","size":4024,"noattachment":false,"key":"/tmp-filepath/-/tmp-filepath-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tmp-filepath/download/tmp-filepath-0.2.0.tgz"},"directories":{},"publish_time":1432348995861,"_cnpm_publish_time":1432348995861,"_hasShrinkwrap":false},"0.1.0":{"name":"tmp-filepath","version":"0.1.0","description":"Generate temp filepath (without write to disk) cross platform","repository":{"type":"git","url":"git+https://github.com/tunnckocore/tmp-filepath.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"cuid":"^1.2.5","os-tmpdir":"^1.0.1"},"devDependencies":{"assertit":"^0.1.0"},"keywords":["cross","disk","file","filepath","fp","gen","generate","platform","temp","tmp"],"gitHead":"973752aa35aad85058a2b0b0313c4d7921e192e7","bugs":{"url":"https://github.com/tunnckocore/tmp-filepath/issues"},"homepage":"https://github.com/tunnckocore/tmp-filepath#readme","_id":"tmp-filepath@0.1.0","_shasum":"f11ea5d4351547f7f6fb90cef5e32851316bfd0f","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"f11ea5d4351547f7f6fb90cef5e32851316bfd0f","size":3824,"noattachment":false,"key":"/tmp-filepath/-/tmp-filepath-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tmp-filepath/download/tmp-filepath-0.1.0.tgz"},"directories":{},"publish_time":1432348571489,"_cnpm_publish_time":1432348571489,"_hasShrinkwrap":false},"0.0.0":{"name":"tmp-filepath","version":"0.0.0","description":"Generate temp filepath (without write to disk) cross platform","repository":{"type":"git","url":"git+https://github.com/tunnckocore/tmp-filepath.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"cuid":"^1.2.5","os-tmpdir":"^1.0.1"},"devDependencies":{"assertit":"^0.1.0"},"keywords":["cross","disk","file","filepath","fp","gen","generate","platform","temp","tmp"],"gitHead":"973752aa35aad85058a2b0b0313c4d7921e192e7","bugs":{"url":"https://github.com/tunnckocore/tmp-filepath/issues"},"homepage":"https://github.com/tunnckocore/tmp-filepath#readme","_id":"tmp-filepath@0.0.0","_shasum":"7edd12e7b8d68006036374976825572bbf50509f","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"7edd12e7b8d68006036374976825572bbf50509f","size":4010,"noattachment":false,"key":"/tmp-filepath/-/tmp-filepath-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tmp-filepath/download/tmp-filepath-0.0.0.tgz"},"directories":{},"publish_time":1432348525685,"_cnpm_publish_time":1432348525685,"_hasShrinkwrap":false}},"readme":"# tmp-filepath [![NPM version](https://img.shields.io/npm/v/tmp-filepath.svg?style=flat)](https://www.npmjs.com/package/tmp-filepath) [![NPM monthly downloads](https://img.shields.io/npm/dm/tmp-filepath.svg?style=flat)](https://npmjs.org/package/tmp-filepath) [![npm total downloads][downloads-img]][downloads-url]\n\n> Generate temporary filepath string (without writing to disk). Using scaleable, secure and fast cross-platform [cuid][] package\n\n[![code climate][codeclimate-img]][codeclimate-url] \n[![standard code style][standard-img]][standard-url] \n[![linux build status][travis-img]][travis-url] \n[![windows build status][appveyor-img]][appveyor-url] \n[![coverage status][coveralls-img]][coveralls-url] \n[![dependency status][david-img]][david-url]\n\nYou might also be interested in [always-done](https://github.com/hybridables/always-done#readme).\n\n## Table of Contents\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n  * [tmpFilepath](#tmpfilepath)\n- [Related](#related)\n- [Contributing](#contributing)\n- [Building docs](#building-docs)\n- [Running tests](#running-tests)\n- [Author](#author)\n- [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\nInstall with [npm](https://www.npmjs.com/)\n\n```\n$ npm install tmp-filepath --save\n```\n\nor install using [yarn](https://yarnpkg.com)\n\n```\n$ yarn add tmp-filepath\n```\n\n## Usage\n> For more use-cases see the [tests](test.js)\n\n```js\nconst tmpFilepath = require('tmp-filepath')\n```\n\n## API\n\n### [tmpFilepath](index.js#L35)\n> Generate temporary filepath string.\n\n**Params**\n\n* `[ext]` **{String}**: extension to be appended to generated filepath    \n* `returns` **{String}**: generated filepath  \n\n**Example**\n\n```js\nconst tmpFilepath = require('tmp-filepath')\n\nconsole.log(tmpFilepath())\n// => /tmp/cia0ervrm0000vppvw0t61v9m\n\nconsole.log(tmpFilepath('.js'))\n// => /tmp/cia0ervrm0000vppvw0t61v9m.js\n```\n\n## Related\n- [always-done](https://www.npmjs.com/package/always-done): Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement… [more](https://github.com/hybridables/always-done#readme) | [homepage](https://github.com/hybridables/always-done#readme \"Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more\")\n- [each-promise](https://www.npmjs.com/package/each-promise): Iterate over promises, promise-returning or async/await functions in series or parallel. Support settle (fail-fast), concurrency (limiting) and hooks system (start… [more](https://github.com/tunnckocore/each-promise#readme) | [homepage](https://github.com/tunnckocore/each-promise#readme \"Iterate over promises, promise-returning or async/await functions in series or parallel. Support settle (fail-fast), concurrency (limiting) and hooks system (start, beforeEach, afterEach, finish)\")\n- [minibase](https://www.npmjs.com/package/minibase): Minimalist alternative for Base. Build complex APIs with small units called plugins. Works well with most of the already existing… [more](https://github.com/node-minibase/minibase#readme) | [homepage](https://github.com/node-minibase/minibase#readme \"Minimalist alternative for Base. Build complex APIs with small units called plugins. Works well with most of the already existing [base][] plugins.\")\n- [mukla](https://www.npmjs.com/package/mukla): Small, parallel and fast test framework with suppport for async/await, promises, callbacks, streams and observables. Targets and works at node.js… [more](https://github.com/tunnckocore/mukla#readme) | [homepage](https://github.com/tunnckocore/mukla#readme \"Small, parallel and fast test framework with suppport for async/await, promises, callbacks, streams and observables. Targets and works at node.js v0.10 and above.\")\n- [rolldown](https://www.npmjs.com/package/rolldown): Modern bundler built on [rollup][] with support for presets and better configuration experience | [homepage](https://github.com/rolldown/rolldown#readme \"Modern bundler built on [rollup][] with support for presets and better configuration experience\")\n- [rollup](https://www.npmjs.com/package/rollup): Next-generation ES6 module bundler | [homepage](https://github.com/rollup/rollup \"Next-generation ES6 module bundler\")\n- [tempfile](https://www.npmjs.com/package/tempfile): Get a random temp file path | [homepage](https://github.com/sindresorhus/tempfile#readme \"Get a random temp file path\")\n- [tmp-file](https://www.npmjs.com/package/tmp-file): Create actual and temporary file on disk - support stream, sync, gulp, vinyl and async. Returns partially Record/Vinyl File Object | [homepage](https://github.com/tunnckocore/tmp-file#readme \"Create actual and temporary file on disk - support stream, sync, gulp, vinyl and async. Returns partially Record/Vinyl File Object\")\n- [try-catch-core](https://www.npmjs.com/package/try-catch-core): Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and… [more](https://github.com/hybridables/try-catch-core#readme) | [homepage](https://github.com/hybridables/try-catch-core#readme \"Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.\")\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/tmp-filepath/issues/new).  \nPlease read the [contributing guidelines](CONTRIBUTING.md) for advice on opening issues, pull requests, and coding standards.  \nIf you need some help and can spent some cash, feel free to [contact me at CodeMentor.io](https://www.codementor.io/tunnckocore?utm_source=github&utm_medium=button&utm_term=tunnckocore&utm_campaign=github) too.\n\n**In short:** If you want to contribute to that project, please follow these things\n\n1. Please DO NOT edit [README.md](README.md), [CHANGELOG.md](CHANGELOG.md) and [.verb.md](.verb.md) files. See [\"Building docs\"](#building-docs) section.\n2. Ensure anything is okey by installing the dependencies and run the tests. See [\"Running tests\"](#running-tests) section.\n3. Always use `npm run commit` to commit changes instead of `git commit`, because it is interactive and user-friendly. It uses [commitizen][] behind the scenes, which follows Conventional Changelog idealogy.\n4. Do NOT bump the version in package.json. For that we use `npm run release`, which is [standard-version][] and follows Conventional Changelog idealogy.\n\nThanks a lot! :)\n\n## Building docs\nDocumentation and that readme is generated using [verb-generate-readme][], which is a [verb][] generator, so you need to install both of them and then run `verb` command like that\n\n```\n$ npm install verbose/verb#dev verb-generate-readme --global && verb\n```\n\n_Please don't edit the README directly. Any changes to the readme must be made in [.verb.md](.verb.md)._\n\n## Running tests\nClone repository and run the following in that cloned directory\n\n```\n$ npm install && npm test\n```\n\n## Author\n**Charlike Mike Reagent**\n\n+ [github/tunnckoCore](https://github.com/tunnckoCore)\n+ [twitter/tunnckoCore](http://twitter.com/tunnckoCore)\n+ [codementor/tunnckoCore](https://codementor.io/tunnckoCore)\n\n## License\nCopyright © 2016-2017, [Charlike Mike Reagent](http://i.am.charlike.online). Released under the [MIT license](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.3, on January 03, 2017._  \n_Project scaffolded using [charlike][] cli._\n\n[always-done]: https://github.com/hybridables/always-done\n[async-done]: https://github.com/gulpjs/async-done\n[base]: https://github.com/node-base/base\n[charlike]: https://github.com/tunnckocore/charlike\n[commitizen]: https://github.com/commitizen/cz-cli\n[cuid]: https://github.com/ericelliott/cuid\n[dezalgo]: https://github.com/npm/dezalgo\n[once]: https://github.com/isaacs/once\n[standard-version]: https://github.com/conventional-changelog/standard-version\n[verb-generate-readme]: https://github.com/verbose/verb-generate-readme\n[verb]: https://github.com/verbose/verb\n\n[downloads-url]: https://www.npmjs.com/package/tmp-filepath\n[downloads-img]: https://img.shields.io/npm/dt/tmp-filepath.svg\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/tmp-filepath\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/tmp-filepath.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/tmp-filepath\n[travis-img]: https://img.shields.io/travis/tunnckoCore/tmp-filepath/master.svg?label=linux\n\n[appveyor-url]: https://ci.appveyor.com/project/tunnckoCore/tmp-filepath\n[appveyor-img]: https://img.shields.io/appveyor/ci/tunnckoCore/tmp-filepath/master.svg?label=windows\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/tmp-filepath\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/tmp-filepath.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/tmp-filepath\n[david-img]: https://img.shields.io/david/tunnckoCore/tmp-filepath.svg\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n\n[rollup]: https://github.com/rollup/rollup","_attachments":{},"homepage":"https://github.com/tunnckocore/tmp-filepath#readme","bugs":{"url":"https://github.com/tunnckocore/tmp-filepath/issues"},"license":"MIT"}