{"_id":"expand-reflinks","_rev":"287058","name":"expand-reflinks","description":"Expand variables in reflinks.","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"jonschlinkert","email":""}],"time":{"modified":"2023-09-20T22:02:39.000Z","created":"2016-07-29T16:18:09.458Z","0.2.1":"2016-10-21T13:38:34.526Z","0.1.1":"2016-07-29T17:05:59.389Z","0.1.0":"2016-07-29T16:18:09.458Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand-reflinks.git"},"versions":{"0.2.1":{"name":"expand-reflinks","description":"Expand variables in reflinks.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/expand-reflinks","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand-reflinks.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand-reflinks/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"define-property":"^0.2.5","extend-shallow":"^2.0.1","regex-not":"^1.0.0","snapdragon":"^0.8.1","to-regex":"^3.0.1"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^2.5.3"},"keywords":["expand","reflinks"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["gulp-format-md","gulp-reflinks","reflinks"]},"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"340164e223b46f43a87fcff4644090d0b7133400","_id":"expand-reflinks@0.2.1","_shasum":"6d5e2199eb0ee3e6474e8edebe9a5c6c05a02a30","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"6d5e2199eb0ee3e6474e8edebe9a5c6c05a02a30","size":4445,"noattachment":false,"key":"/expand-reflinks/-/expand-reflinks-0.2.1.tgz","tarball":"http://name.csiicloud.com:7001/expand-reflinks/download/expand-reflinks-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expand-reflinks-0.2.1.tgz_1477057112854_0.21301005710847676"},"directories":{},"publish_time":1477057114526,"_hasShrinkwrap":false,"_cnpm_publish_time":1477057114526,"_cnpmcore_publish_time":"2021-12-13T17:29:43.438Z"},"0.1.1":{"name":"expand-reflinks","description":"Expand variables in reflinks.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/expand-reflinks","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand-reflinks.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand-reflinks/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.5.3"},"keywords":["expand","reflinks"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["reflinks","gulp-reflinks","gulp-format-md"]},"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"db59d3d89dd2cf4714f15fb80cecae2b8afa9436","_id":"expand-reflinks@0.1.1","_shasum":"bc87959510cdde9e03ff62d63b880e4287779a91","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"bc87959510cdde9e03ff62d63b880e4287779a91","size":2869,"noattachment":false,"key":"/expand-reflinks/-/expand-reflinks-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/expand-reflinks/download/expand-reflinks-0.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/expand-reflinks-0.1.1.tgz_1469811956072_0.3174140560440719"},"directories":{},"publish_time":1469811959389,"_hasShrinkwrap":false,"_cnpm_publish_time":1469811959389,"_cnpmcore_publish_time":"2021-12-13T17:29:43.643Z"},"0.1.0":{"name":"expand-reflinks","description":"Expand variables in reflinks.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/expand-reflinks","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/expand-reflinks.git"},"bugs":{"url":"https://github.com/jonschlinkert/expand-reflinks/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"^2.5.3"},"keywords":["expand","reflinks"],"gitHead":"ea00fb5159d1474992271efa9e0ef0c6b7f28036","_id":"expand-reflinks@0.1.0","_shasum":"f46b16861a590b48a8c3c97650cd8ba3a2af5458","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"f46b16861a590b48a8c3c97650cd8ba3a2af5458","size":1855,"noattachment":false,"key":"/expand-reflinks/-/expand-reflinks-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/expand-reflinks/download/expand-reflinks-0.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/expand-reflinks-0.1.0.tgz_1469809087777_0.4590031011030078"},"directories":{},"publish_time":1469809089458,"_hasShrinkwrap":false,"_cnpm_publish_time":1469809089458,"_cnpmcore_publish_time":"2021-12-13T17:29:43.939Z"}},"readme":"# expand-reflinks [![NPM version](https://img.shields.io/npm/v/expand-reflinks.svg?style=flat)](https://www.npmjs.com/package/expand-reflinks) [![NPM monthly downloads](https://img.shields.io/npm/dm/expand-reflinks.svg?style=flat)](https://npmjs.org/package/expand-reflinks)  [![NPM total downloads](https://img.shields.io/npm/dt/expand-reflinks.svg?style=flat)](https://npmjs.org/package/expand-reflinks) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/expand-reflinks.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/expand-reflinks)\n\n> Expand variables in reflinks.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save expand-reflinks\n```\n\nExpands this:\n\n```\n[abc]: [bar]/abc/[foo]\n[fez]: [qux]/fez\n[qux]: [baz]/qux\n[baz]: [bar]/baz\n[bar]: [foo]/bar [foo]: 123\n```\n\nTo this:\n\n```\n[abc]: 123/bar/abc/123\n[fez]: 123/bar/baz/qux/fez\n[qux]: 123/bar/baz/qux\n[baz]: 123/bar/baz\n[bar]: 123/bar\\n\n[foo]: 123\n```\n\n## Usage\n\n```js\nvar expand = require('expand-reflinks');\nconsole.log(expand('[bar]: [foo]/bar\\n[foo]: 123'));\n```\n\nResults in:\n\n```\n[bar]: 123/bar\n[foo]: 123\n```\n\n## About\n\n### Related projects\n\n* [gulp-format-md](https://www.npmjs.com/package/gulp-format-md): Gulp plugin for beautifying markdown using pretty-remarkable. | [homepage](https://github.com/jonschlinkert/gulp-format-md \"Gulp plugin for beautifying markdown using pretty-remarkable.\")\n* [gulp-reflinks](https://www.npmjs.com/package/gulp-reflinks): Gulp plugin for `reflinks`. Lints a markdown string to find missing reflinks for npm package… [more](https://github.com/jonschlinkert/gulp-reflinks) | [homepage](https://github.com/jonschlinkert/gulp-reflinks \"Gulp plugin for `reflinks`. Lints a markdown string to find missing reflinks for npm package names, resolves the homepage or repository url from npm, and appends a valid reflink to the document.\")\n* [reflinks](https://www.npmjs.com/package/reflinks): Generate (relative) reference links for a glob of markdown files, allowing you to more easily… [more](https://github.com/jonschlinkert/reflinks) | [homepage](https://github.com/jonschlinkert/reflinks \"Generate (relative) reference links for a glob of markdown files, allowing you to more easily create references from one file to another.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for avice on opening issues, pull requests, and coding standards.\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && 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/jonschlinkert/expand-reflinks/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 21, 2016._","_attachments":{},"homepage":"https://github.com/jonschlinkert/expand-reflinks","bugs":{"url":"https://github.com/jonschlinkert/expand-reflinks/issues"},"license":"MIT"}