{"_id":"@builtbygio/ctags","name":"@builtbygio/ctags","dist-tags":{"latest":"3.1.0"},"versions":{"3.1.0":{"name":"@builtbygio/ctags","description":"A package for reading source code tag files","version":"3.1.0","keywords":["tags","etags"],"author":{"name":"Kevin Sawicki","email":"kevin@github.com"},"licenses":[{"type":"MIT","url":"http://github.com/atom/node-ctags/raw/master/LICENSE.md"}],"repository":{"type":"git","url":"git+https://github.com/builtbygio/node-ctags.git"},"bugs":{"url":"https://github.com/builtbygio/node-ctags/issues"},"homepage":"https://github.com/builtbygio/node-ctags","main":"./lib/ctags.js","devDependencies":{"node-gyp":"~0.8.5","jasmine-focused":"1.x","rimraf":"~2.1.4","node-cpplint":"0.1.5"},"dependencies":{"nan":"2.28.0","event-stream":"~3.1.0"},"scripts":{"test":"node -e \"require('./package.json')\"","install":"node-gyp rebuild"},"engines":{"chevron":"*"},"gypfile":true,"_id":"@builtbygio/ctags@3.1.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-E75vEnn8C3yyl5vmIMidViTqwkN+WQ7QFYthyIKoK9QwyD/pB6mEJRYlgXs1v11Unt/SDHkgkN3eKxF1s5aUlg==","shasum":"a2dd8361e8952fad8f82160ebb8ad7450e1616ae","tarball":"https://registry.npmjs.org/@builtbygio/ctags/-/ctags-3.1.0.tgz","fileCount":15,"unpackedSize":45073,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDJulrhgZjysfH7zI/CdbCqCwG77FK7uBq4kLRzr0vPPAiAr81yEGJPjrM9eMC7st/4Sx7umDb3Zg7dBokUMjzL0YA=="}]},"_npmUser":{"name":"giobuilds","email":"giova19@proton.me"},"directories":{},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ctags_3.1.0_1787781633141_0.07955175145030347"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T22:00:33.001Z","3.1.0":"2026-08-26T22:00:33.302Z","modified":"2026-08-26T22:00:33.502Z"},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"description":"A package for reading source code tag files","homepage":"https://github.com/builtbygio/node-ctags","keywords":["tags","etags"],"repository":{"type":"git","url":"git+https://github.com/builtbygio/node-ctags.git"},"author":{"name":"Kevin Sawicki","email":"kevin@github.com"},"bugs":{"url":"https://github.com/builtbygio/node-ctags/issues"},"readme":"# Ctags Node module [![Build Status](https://travis-ci.org/atom/node-ctags.png)](https://travis-ci.org/atom/node-ctags)\n\nRead all about ctags [here](http://ctags.sourceforge.net/).\n\n## Installing\n\n```sh\nnpm install ctags\n```\n\n## Building\n  * Clone the repository\n  * Run `npm install`\n  * Run `grunt` to compile the native and CoffeeScript code\n  * Run `grunt test` to run the specs\n\n## Documentation\n\n### findTags(tagsFilePath, tag, [options], callback)\n\nGet all tags matching the tag specified from the tags file at the path.\n\n* `tagsFilePath` - The string path to the tags file.\n\n* `tag` - The string name of the tag to search for.\n\n* `options` - An optional options object containing the following keys:\n\n  * `caseInsensitive` - `true` to include tags that match case insensitively,\n    (default: `false`)\n  * `partialMatch` - `true` to include tags that partially match the given tag\n    (default: `false`)\n\n* `callback` - The function to call when complete with an error as the first\n             argument and an array containing objects that have `name` and\n             `file` keys and optionally a `pattern` key if the tag file\n             specified contains tag patterns.\n\n#### Example\n\n```coffeescript\nctags = require 'ctags'\n\nctags.findTags('/Users/me/repos/node/tags', 'exists', (error, tags=[]) ->\n  for tag in tags\n    console.log(\"#{tag.name} is in #{tag.file}\")\n```\n\n### createReadStream(tagsFilePath, [options])\n\nCreate a read stream to a tags file.\n\nThe stream returned will emit `data` events with arrays of tag objects\nthat have `name` and `file` keys and optionally a `pattern` key if the tag file\nspecified contains tag patterns.\n\nAn `error` event will be emitted if the tag file cannot be read.\n\nAn `end` event will be emitted when all the tags have been read.\n\n* `tagsFilePath` - The string path to the tags file.\n\n* `options` - An optional object containing the following keys.\n\n  * `chunkSize` - The number of tags to read at a time (default: `100`).\n\nReturns a stream.\n#### Example\n\n```coffeescript\nctags = require 'ctags'\n\nstream = ctags.createReadStream('/Users/me/repos/node/tags')\nstream.on 'data', (tags) ->\n  for tag in tags\n    console.log(\"#{tag.name} is in #{tag.file} with pattern: #{tag.pattern}\")\n```\n","readmeFilename":"README.md","_rev":"1-b9aa6611290582c8be432467dccb2e46"}