{"_id":"base-fs-rename","_rev":"227068","name":"base-fs-rename","description":"Plugin for 'base' applications that adds a `rename` method that, when called, can be passed to `app.dest()` as the rename function (this is an instance plugin, not pipeline plugin)","dist-tags":{"latest":"0.1.4"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T15:43:27.000Z","created":"2016-02-04T09:40:04.650Z","0.1.4":"2016-06-20T05:34:26.841Z","0.1.3":"2016-05-28T18:25:09.740Z","0.1.2":"2016-04-05T07:58:34.864Z","0.1.1":"2016-02-06T17:33:02.393Z","0.1.0":"2016-02-04T09:40:04.650Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/node-base/base-fs-rename.git"},"versions":{"0.1.4":{"name":"base-fs-rename","description":"Plugin for 'base' applications that adds a `rename` method that, when called, can be passed to `app.dest()` as the rename function (this is an instance plugin, not pipeline plugin)","version":"0.1.4","homepage":"https://github.com/node-base/base-fs-rename","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/node-base/base-fs-rename.git"},"bugs":{"url":"https://github.com/node-base/base-fs-rename/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"base-cwd":"^0.2.1","is-absolute":"^0.2.5","is-valid-app":"^0.1.1","kind-of":"^3.0.3","lazy-cache":"^2.0.1","mixin-deep":"^1.1.3","through2":"^2.0.1"},"devDependencies":{"base":"^0.11.0","base-fs":"^0.3.5","delete":"^0.3.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3"},"keywords":["base","baseplugin","fs","plugin","rename"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble-fs","base","base-fs","base-fs-conflicts","base-task"]},"reflinks":["assemble-fs","base-fs","verb","verb-readme-generator"],"lint":{"reflinks":true}},"gitHead":"1a12c84e2bb0aa3f313dba71f7af24e4ec6f107f","_id":"base-fs-rename@0.1.4","_shasum":"36170ebbfeb948935d138c370ad583484b2b79d9","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"36170ebbfeb948935d138c370ad583484b2b79d9","size":2304,"noattachment":false,"key":"/base-fs-rename/-/base-fs-rename-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-fs-rename/download/base-fs-rename-0.1.4.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/base-fs-rename-0.1.4.tgz_1466400865600_0.31426155287772417"},"directories":{},"publish_time":1466400866841,"_cnpm_publish_time":1466400866841,"_hasShrinkwrap":false},"0.1.3":{"name":"base-fs-rename","description":"Plugin for 'base' applications that adds a `rename` method that, when called, can be passed to `app.dest()` as the rename function (this is an instance plugin, not pipeline plugin)","version":"0.1.3","homepage":"https://github.com/node-base/base-fs-rename","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/node-base/base-fs-rename.git"},"bugs":{"url":"https://github.com/node-base/base-fs-rename/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-absolute":"^0.2.5","is-registered":"^0.1.4","is-valid-instance":"^0.1.0","kind-of":"^3.0.3","lazy-cache":"^2.0.1","mixin-deep":"^1.1.3","through2":"^2.0.1"},"devDependencies":{"base":"^0.8.1","base-fs":"^0.3.5","delete":"^0.3.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3"},"keywords":["base","fs","rename"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["assemble-fs","base","base-fs","base-fs-conflicts","base-task"]},"reflinks":["assemble-fs","base-fs","verb"],"lint":{"reflinks":true}},"gitHead":"a24f44fdc513a3161c4caa8e57cba2cb102355c8","_id":"base-fs-rename@0.1.3","_shasum":"ccbb99e5a183aa96de3e9d3757456aa57ea51084","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ccbb99e5a183aa96de3e9d3757456aa57ea51084","size":2284,"noattachment":false,"key":"/base-fs-rename/-/base-fs-rename-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-fs-rename/download/base-fs-rename-0.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/base-fs-rename-0.1.3.tgz_1464459907491_0.3328068230766803"},"directories":{},"publish_time":1464459909740,"_cnpm_publish_time":1464459909740,"_hasShrinkwrap":false},"0.1.2":{"name":"base-fs-rename","description":"Plugin for 'base' applications that adds a `rename` method that, when called, can be passed to `app.dest()` as the rename function (this is an instance plugin, not pipeline plugin)","version":"0.1.2","homepage":"https://github.com/node-base/base-fs-rename","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/node-base/base-fs-rename.git"},"bugs":{"url":"https://github.com/node-base/base-fs-rename/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-absolute":"^0.2.3"},"devDependencies":{"base":"^0.6.7","base-fs":"^0.3.0","delete":"^0.3.0","gulp-format-md":"^0.1.5","mocha":"*"},"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["base","base-fs","assemble-fs","base-task","base-fs-conflicts"]},"reflinks":["verb","base-fs","assemble-fs"],"lint":{"reflinks":true}},"gitHead":"efdfa324236fbea62141623bb41e3d001c173294","_id":"base-fs-rename@0.1.2","_shasum":"946e844a49470812d0b4c52365c1fb7b8ca551b7","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"946e844a49470812d0b4c52365c1fb7b8ca551b7","size":3033,"noattachment":false,"key":"/base-fs-rename/-/base-fs-rename-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-fs-rename/download/base-fs-rename-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/base-fs-rename-0.1.2.tgz_1459843112409_0.48605858255177736"},"directories":{},"publish_time":1459843114864,"_cnpm_publish_time":1459843114864,"_hasShrinkwrap":false},"0.1.1":{"name":"base-fs-rename","description":"Plugin for 'base' applications that adds a `rename` method that can be passed to `app.dest()` (this is an instance plugin, not pipeline plugin)","version":"0.1.1","homepage":"https://github.com/jonschlinkert/base-fs-rename","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/base-fs-rename.git"},"bugs":{"url":"https://github.com/jonschlinkert/base-fs-rename/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-absolute":"^0.2.3"},"devDependencies":{"base":"^0.6.7","base-fs":"^0.3.0","delete":"^0.3.0","gulp-format-md":"^0.1.5","mocha":"*"},"verb":{"layout":"default","plugins":["gulp-format-md"],"related":{"list":["base"]}},"gitHead":"badeda6a703bd36f248783d68033d4dc6790adce","_id":"base-fs-rename@0.1.1","_shasum":"4af9b571aa57fb6431c0926e411f6ed0d91cdb2a","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4af9b571aa57fb6431c0926e411f6ed0d91cdb2a","size":2416,"noattachment":false,"key":"/base-fs-rename/-/base-fs-rename-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-fs-rename/download/base-fs-rename-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/base-fs-rename-0.1.1.tgz_1454779981229_0.26002110727131367"},"directories":{},"publish_time":1454779982393,"_cnpm_publish_time":1454779982393,"_hasShrinkwrap":false},"0.1.0":{"name":"base-fs-rename","description":"Plugin for 'base' applications that adds a `rename` method that can be passed to `app.dest()` (this is an instance plugin, not pipeline plugin)","version":"0.1.0","homepage":"https://github.com/jonschlinkert/base-fs-rename","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/base-fs-rename.git"},"bugs":{"url":"https://github.com/jonschlinkert/base-fs-rename/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^2.0.0","mixin-deep":"^1.1.3","placeholders":"^0.2.0"},"devDependencies":{"base":"^0.6.7","base-fs":"^0.3.0","delete":"^0.3.0","mocha":"^2.4.5"},"keywords":[],"gitHead":"9ae33c96a68aa19590770e7503dd34625e28f995","_id":"base-fs-rename@0.1.0","_shasum":"b404ad1c02c3d6d6e710f1aa6c46a66506733fde","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b404ad1c02c3d6d6e710f1aa6c46a66506733fde","size":1979,"noattachment":false,"key":"/base-fs-rename/-/base-fs-rename-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/base-fs-rename/download/base-fs-rename-0.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/base-fs-rename-0.1.0.tgz_1454578802061_0.8123394709546119"},"directories":{},"publish_time":1454578804650,"_cnpm_publish_time":1454578804650,"_hasShrinkwrap":false}},"readme":"# base-fs-rename [![NPM version](https://img.shields.io/npm/v/base-fs-rename.svg?style=flat)](https://www.npmjs.com/package/base-fs-rename) [![NPM downloads](https://img.shields.io/npm/dm/base-fs-rename.svg?style=flat)](https://npmjs.org/package/base-fs-rename) [![Build Status](https://img.shields.io/travis/node-base/base-fs-rename.svg?style=flat)](https://travis-ci.org/node-base/base-fs-rename)\n\nPlugin for 'base' applications that adds a `rename` method that, when called, can be passed to `app.dest()` as the rename function (this is an instance plugin, not pipeline plugin)\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save base-fs-rename\n```\n\n## Usage\n\nRequires either the [base-fs](https://github.com/node-base/base-fs) or the [assemble-fs](https://github.com/assemble/assemble-fs) plugin to work.\n\n```js\nvar fs = require('base-fs');\nvar rename = require('base-fs-rename');\nvar Base = require('base');\nvar app = new Base();\n\napp.use(rename());\napp.use(fs());\n\napp.src('fixtures/a.txt')\n  // pass `app.rename()` to `app.dest()`\n  .pipe(app.dest(app.rename('actual')));\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [assemble-fs](https://www.npmjs.com/package/assemble-fs): Assemble plugin to add methods to assemble for working with the file system, like src… [more](https://github.com/assemble/assemble-fs) | [homepage](https://github.com/assemble/assemble-fs \"Assemble plugin to add methods to assemble for working with the file system, like src, dest, copy and symlink.\")\n* [base](https://www.npmjs.com/package/base): base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://github.com/node-base/base) | [homepage](https://github.com/node-base/base \"base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.\")\n* [base-fs](https://www.npmjs.com/package/base-fs): base-methods plugin that adds vinyl-fs methods to your 'base' application for working with the file… [more](https://github.com/node-base/base-fs) | [homepage](https://github.com/node-base/base-fs \"base-methods plugin that adds vinyl-fs methods to your 'base' application for working with the file system, like src, dest, copy and symlink.\")\n* [base-fs-conflicts](https://www.npmjs.com/package/base-fs-conflicts): Detect potential file system conflicts and if necessary prompt the user before overwriting files. | [homepage](https://github.com/node-base/base-fs-conflicts \"Detect potential file system conflicts and if necessary prompt the user before overwriting files.\")\n* [base-task](https://www.npmjs.com/package/base-task): base plugin that provides a very thin wrapper around [https://github.com/doowb/composer](https://github.com/doowb/composer) for adding task methods to… [more](https://github.com/node-base/base-task) | [homepage](https://github.com/node-base/base-task \"base plugin that provides a very thin wrapper around <https://github.com/doowb/composer> for adding task methods to your application.\")\n\n## Contributing\n\nThis document was generated by [verb-readme-generator](https://github.com/verbose/verb-readme-generator) (a [verb](https://github.com/verbose/verb) generator), please don't edit directly. Any changes to the readme must be made in [.verb.md](.verb.md). See [Building Docs](#building-docs).\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). Or visit the [verb-readme-generator](https://github.com/verbose/verb-readme-generator) project to submit bug reports or pull requests for the readme layout template.\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-readme-generator && verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/node-base/base-fs-rename/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on June 20, 2016._","_attachments":{},"homepage":"https://github.com/node-base/base-fs-rename","bugs":{"url":"https://github.com/node-base/base-fs-rename/issues"},"license":"MIT"}