{"_id":"placeholders","_rev":"8-40b9ca1ca89d9a58ed94de441cec2810","name":"placeholders","description":"Replace placeholder values in a file path.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"placeholders","description":"Replace placeholder values in a file path.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/placeholders","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/placeholders.git"},"bugs":{"url":"https://github.com/jonschlinkert/placeholders/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"assign-deep":"^0.3.1","expand":"^0.1.4"},"devDependencies":{"mocha":"*"},"keywords":["dot","dot-notation","file","filepath","interpolate","notation","param","parameter","path","permalink","placeholder","prop","rewrite","url"],"gitHead":"9accffc8f398994161099a130c47190ce4952da3","_id":"placeholders@0.1.0","_shasum":"6c66d493e77243027d9e7c2ae438e0d66c91db3f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6c66d493e77243027d9e7c2ae438e0d66c91db3f","tarball":"https://registry.npmjs.org/placeholders/-/placeholders-0.1.0.tgz","integrity":"sha512-DONgE2uun8Huhb7yk1/flAgwZOBSaP4Kq6Sqt4B3IPTt6+rBy9pJtRzWvwf6fxjRDx78IRgCuZuSRE64OtbIFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNr2B7kYabbvpAg5RbR3llNJ5lEIIcW0CLJ6mAcVwFQAiBz/+XNJRtHsGJMiCRD5pZOJaHF1VcQadbv23HZns6+fw=="}]}},"0.1.1":{"name":"placeholders","description":"Replace placeholder values in a file path.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/placeholders","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/placeholders.git"},"bugs":{"url":"https://github.com/jonschlinkert/placeholders/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"assign-deep":"^0.3.1","expand":"^0.2.1"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*"},"keywords":["dot","dot-notation","file","filepath","interpolate","notation","param","parameter","path","permalink","placeholder","prop","rewrite","url"],"gitHead":"9accffc8f398994161099a130c47190ce4952da3","_id":"placeholders@0.1.1","_shasum":"1ac7b7349484bae7a4245f6c043e2ada1eba2a06","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1ac7b7349484bae7a4245f6c043e2ada1eba2a06","tarball":"https://registry.npmjs.org/placeholders/-/placeholders-0.1.1.tgz","integrity":"sha512-t+ngCMZzqcLCLauYOd2+0Q9hSCgG7KPmMiudEOQywQIhLUEUi1e10aikR7dWUfHvX19vpga8fakhB2bgxJpYDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfMIhY7c37hf9YP00MaoeTrbhHrtWokUMlgakhjjqwaQIhAKkVc8tvCyBqcS+1qFA/W7VGh/iFHYv6lP9fbbA0W2KD"}]}},"0.2.0":{"name":"placeholders","description":"Replace placeholder values in a file path.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/placeholders","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/placeholders.git"},"bugs":{"url":"https://github.com/jonschlinkert/placeholders/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"assign-deep":"^0.3.1","expand":"^0.3.1"},"devDependencies":{"gulp":"^3.9.0","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.11.2","gulp-mocha":"^2.1.3","jshint-stylish":"^2.0.1","mocha":"*"},"keywords":["dot","dot-notation","file","filepath","interpolate","notation","param","parameter","path","permalink","placeholder","prop","rewrite","url"],"gitHead":"f5697a3ace8b7c23833d8a69dca348f3f09c2851","_id":"placeholders@0.2.0","_shasum":"1aeff13bf71cf01d55176bf9ca370f07d210eac3","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1aeff13bf71cf01d55176bf9ca370f07d210eac3","tarball":"https://registry.npmjs.org/placeholders/-/placeholders-0.2.0.tgz","integrity":"sha512-sepgTpp/ZUPIT/2FwvKN3VLVyCwLiSsrVmUtdKUrX+Ye8txttMdJJl3fmA6++71kitED2A8iT7BG4mj6t5n4+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4QF2ui32Y1Csg7ezfXAfWbsL7EU8YVQRSsCL3izbKHAIhANvQh8OLo3/qUIYbjBws8eyFPgwMiuHect9be/zNvFGg"}]}},"0.3.0":{"name":"placeholders","description":"Replace placeholder values in a file path.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/placeholders","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/placeholders.git"},"bugs":{"url":"https://github.com/jonschlinkert/placeholders/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"assign-deep":"^0.4.5","expand":"^0.4.3"},"devDependencies":{"gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","mocha":"^2.5.3"},"keywords":["dot","dot-notation","file","filepath","interpolate","notation","param","parameter","path","permalink","placeholder","prop","rewrite","url"],"verb":{"related":{"list":["assign-deep","expand"]},"reflinks":["verb","verb-readme-generator"],"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"d4354b46f251a93359afdde4be124bada8042ee2","_id":"placeholders@0.3.0","_shasum":"d14d487b32bda5e8399f2481fdda3631aa859200","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"d14d487b32bda5e8399f2481fdda3631aa859200","tarball":"https://registry.npmjs.org/placeholders/-/placeholders-0.3.0.tgz","integrity":"sha512-+8SrZUfFXxIupIJk/XHNrbUOFkb8ULw/+jEbap2vdhPL7R/qADt4wygUV2tbjNwG+iUaFhCNUq0eARWfYS7QkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFW1DjgwzKT5WOnMsSn8pLoYkMusVRp8qb84VWH4tsfAIhAP5uzyhgYNagMnNOtcN88B6KJgYQUUfst0DPECHlSh4Q"}]},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/placeholders-0.3.0.tgz_1468264483628_0.9228904973715544"}},"1.0.0":{"name":"placeholders","description":"Replace placeholder values in a file path.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/placeholders","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Brian Woodward","url":"https://twitter.com/doowb"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/placeholders.git"},"bugs":{"url":"https://github.com/jonschlinkert/placeholders/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"assign-deep":"^0.4.5","expand":"^0.5.0"},"devDependencies":{"gulp":"^3.9.1","gulp-eslint":"^3.0.1","gulp-format-md":"^0.1.12","gulp-istanbul":"^1.0.0","gulp-mocha":"^2.2.0","mocha":"^2.5.3"},"keywords":["dot","dot-notation","file","filepath","interpolate","notation","param","parameter","path","permalink","placeholder","prop","rewrite","url"],"verb":{"related":{"list":["assign-deep","expand"]},"reflinks":["verb","verb-readme-generator"],"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"f5e7e953f9d64d0cbd5d4fa81b49d99d91a1290f","_id":"placeholders@1.0.0","_shasum":"d8f6ca9421e3bcf9132cfe30730870008ab2d420","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.10.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"d8f6ca9421e3bcf9132cfe30730870008ab2d420","tarball":"https://registry.npmjs.org/placeholders/-/placeholders-1.0.0.tgz","integrity":"sha512-bIFdfPBU0RSjAGiKAGyoL/JBZeLDS55v/+oeH58kP7/MPiNSHPl7sTzghvbRv2w6MLMnsNJgdAztjvVNRTMLRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAh9erD0kY7CNmsZ8iiclATTIHX8Vq2+6DOSIWYtkU2AiEA2kTodiTo847NsjSPI7JHajl+1LoXKinJDt/W5uq2GwQ="}]},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/placeholders-1.0.0.tgz_1497721234498_0.19866359769366682"}}},"readme":"# placeholders [![NPM version](https://img.shields.io/npm/v/placeholders.svg?style=flat)](https://www.npmjs.com/package/placeholders) [![NPM monthly downloads](https://img.shields.io/npm/dm/placeholders.svg?style=flat)](https://npmjs.org/package/placeholders)  [![NPM total downloads](https://img.shields.io/npm/dt/placeholders.svg?style=flat)](https://npmjs.org/package/placeholders) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/placeholders.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/placeholders) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/placeholders.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/placeholders)\n\n> Replace placeholder values in a file path.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save placeholders\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add placeholders\n```\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save placeholders\n```\n\n## Usage\n\n```js\nvar placeholders = require('placeholders')(options);\n\nplaceholders('/site/blog/:path', {path: 'foo-bar.md'});\n//=> '/site/blog/foo-bar.md'\n```\n\n## Options\n\nOptions may be passed to the main function.\n\n```js\nvar placeholders = require('placeholders')(options);\n```\n\n### options.regex\n\nPass a custom regex to use for replacements.\n\n**Type**: `{RegExp}`\n\n**Default**: the default regex matches es6 delimiters and lodash template syntax.\n\n**Example**\n\nMatch [printf-like](https://en.wikipedia.org/wiki/Printf_format_string) strings:\n\n```js\nvar placeholders = require('placeholders')({\n  regex: /%([^%]+)%/\n});\n```\n\n### options.data\n\nPass a `data` object on the main function to use for resolving values.\n\n**Type**: `{Object}`\n\n**Default**: `undefined`\n\n**Example**\n\n```js\nvar placeholders = require('placeholders')({\n  data: {foo: 'one', bar: 'two'}\n});\n\nplaceholders(':foo/:bar/:baz', {baz: 'three'})\n//=> 'one/two/three'\n```\n\n### returns a function when no data is passed\n\nThis allows you to reuse the same pattern with different data,\nlike a compiled template.\n\n```js\nvar placeholders = require('placeholders')({\n  regex: /%([^%]+)%/\n});\n\nvar fn = placeholders('foo/%bar%/%baz%');\nfn({bar: 'one', baz: 'two'})\n//=> 'foo/one/two'\nfn({bar: 'a', baz: 'b'})\n//=> 'foo/a/b'\n```\n\n## About\n\n### Related projects\n\n* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… [more](https://github.com/jonschlinkert/assign-deep) | [homepage](https://github.com/jonschlinkert/assign-deep \"Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.\")\n* [expand](https://www.npmjs.com/package/expand): Recursively resolve templates in an object, string or array. | [homepage](https://github.com/jonschlinkert/expand \"Recursively resolve templates in an object, string or array.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 13 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 8  | [doowb](https://github.com/doowb) |  \n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased 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.6.0, on June 17, 2017._","maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-24T02:18:43.790Z","created":"2015-08-31T23:45:15.874Z","0.1.0":"2015-08-31T23:45:15.874Z","0.1.1":"2015-09-16T00:59:28.068Z","0.2.0":"2015-09-17T20:27:08.633Z","0.3.0":"2016-07-11T19:14:46.134Z","1.0.0":"2017-06-17T17:40:34.779Z"},"homepage":"https://github.com/jonschlinkert/placeholders","keywords":["dot","dot-notation","file","filepath","interpolate","notation","param","parameter","path","permalink","placeholder","prop","rewrite","url"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/placeholders.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/placeholders/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Brian Woodward","url":"https://twitter.com/doowb"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}]}