{"_id":"jsdoc-inline-lex","_rev":"4132905","name":"jsdoc-inline-lex","description":"lex inline tags from jsdoc text","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"time":{"modified":"2026-03-01T18:40:46.000Z","created":"2015-04-15T17:05:37.432Z","1.0.1":"2015-04-15T17:18:05.553Z","1.0.0":"2015-04-15T17:05:37.432Z"},"users":{},"author":{"name":"Tom MacWright"},"repository":{"type":"git","url":"git@github.com:documentationjs/jsdoc-inline-lex.git"},"versions":{"1.0.1":{"name":"jsdoc-inline-lex","version":"1.0.1","description":"lex inline tags from jsdoc text","main":"index.js","scripts":{"test":"tape test.js"},"keywords":["jsdoc","inline","lex","tag"],"author":{"name":"Tom MacWright"},"license":"ISC","devDependencies":{"tape":"^4.0.0"},"repository":{"type":"git","url":"git@github.com:documentationjs/jsdoc-inline-lex.git"},"gitHead":"ff6c8c6f59de1843aab77197338e03cc285871ab","bugs":{"url":"https://github.com/documentationjs/jsdoc-inline-lex/issues"},"homepage":"https://github.com/documentationjs/jsdoc-inline-lex","_id":"jsdoc-inline-lex@1.0.1","_shasum":"ac0b4d11b904bdfbd9bdf889bb433de5c3839800","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.36","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"ac0b4d11b904bdfbd9bdf889bb433de5c3839800","size":2055,"noattachment":false,"key":"/jsdoc-inline-lex/-/jsdoc-inline-lex-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/jsdoc-inline-lex/download/jsdoc-inline-lex-1.0.1.tgz"},"directories":{},"publish_time":1429118285553,"_hasShrinkwrap":false,"_cnpm_publish_time":1429118285553,"_cnpmcore_publish_time":"2021-12-16T14:45:03.801Z"},"1.0.0":{"name":"jsdoc-inline-lex","version":"1.0.0","description":"lex inline tags from jsdoc text","main":"index.js","scripts":{"test":"tape test.js"},"keywords":["jsdoc","inline","lex","tag"],"author":{"name":"Tom MacWright"},"license":"ISC","devDependencies":{"tape":"^4.0.0"},"gitHead":"1d8f213010d9e4b6fc2fba198ce99f03e5b80328","_id":"jsdoc-inline-lex@1.0.0","_shasum":"39dd4d2322ae530e6cfb9e6eb99316de02dae514","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.36","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"39dd4d2322ae530e6cfb9e6eb99316de02dae514","size":2010,"noattachment":false,"key":"/jsdoc-inline-lex/-/jsdoc-inline-lex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jsdoc-inline-lex/download/jsdoc-inline-lex-1.0.0.tgz"},"directories":{},"publish_time":1429117537432,"_hasShrinkwrap":false,"_cnpm_publish_time":1429117537432,"_cnpmcore_publish_time":"2021-12-16T14:45:04.015Z"}},"readme":"# `lex`\n\nLex tokens out of a string input that represents some JSDoc-embedded\ntext.\n\n| name | description |\n| ---- | ----------- |\n| `text` | input text. |\n\n## Examples\n\n```js\nvar result = lex('See {@link MyClass}.');\n// returns\nresult = [\n  {\n    \"type\": \"text\",\n    \"capture\": [\n      \" See \"\n    ]\n  },\n  {\n    \"type\": \"link\",\n    \"capture\": [\n      \"{@link MyClass}\",\n      \"MyClass\"\n    ]\n  },\n  {\n    \"type\": \"text\",\n    \"capture\": [\n      \".\\n\"\n    ]\n  }\n];\n```\n\nReturns  array of lexed tokens.\n","_attachments":{},"homepage":"https://github.com/documentationjs/jsdoc-inline-lex","bugs":{"url":"https://github.com/documentationjs/jsdoc-inline-lex/issues"},"license":"ISC"}