{"_id":"@builtbygio/status-bar","name":"@builtbygio/status-bar","dist-tags":{"latest":"1.8.20"},"versions":{"1.8.20":{"name":"@builtbygio/status-bar","version":"1.8.20","main":"./lib/main","description":"Display information about the current editor such as cursor position, file path, grammar, current branch, ahead/behind commits counts, and line diff count.","repository":{"type":"git","url":"git+https://github.com/builtbygio/status-bar.git"},"license":"MIT","engines":{"atom":"*","chevron":"*"},"dependencies":{"fs-plus":"^3.0.1","grim":"^2.0.1","underscore-plus":"^1.0.0"},"providedServices":{"status-bar":{"description":"A container for indicators at the bottom of the workspace","versions":{"1.1.0":"provideStatusBar","0.58.0":"legacyProvideStatusBar"}}},"configSchema":{"isVisible":{"type":"boolean","default":true,"description":"Show status bar at the bottom of the workspace"},"fullWidth":{"order":1,"type":"boolean","default":true,"title":"Full-width","description":"Fit the status-bar to the window's full-width"},"cursorPositionFormat":{"order":2,"type":"string","default":"%L:%C","description":"Format for the cursor position status bar element, where %L is the line number and %C is the column number"},"selectionCountFormat":{"order":2,"type":"string","default":"(%L, %C)","description":"Format for the selection count status bar element, where %L is the line count and %C is the character count"}},"_id":"@builtbygio/status-bar@1.8.20","bugs":{"url":"https://github.com/builtbygio/status-bar/issues"},"homepage":"https://github.com/builtbygio/status-bar#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-zXY7uT3rsbzDAVovyCVGykaNEUBv6z4A0ivgEwwfqE7KEaPqAB8ZgnG6Y2L7qJKdvYb17r4uVTWk3OGB5khylw==","shasum":"672919d330c89b7c8cdbff0ecbcd4d81af0b4f1c","tarball":"https://registry.npmjs.org/@builtbygio/status-bar/-/status-bar-1.8.20.tgz","fileCount":22,"unpackedSize":49127,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICVwtzLAEXODQjNTyNugJMlnN09iNQxgB7Q+hVilDqvpAiBv7at8+WP5YicKEOWjKjw8h9ovGt4DpRY8MTnSIJ4xYg=="}]},"_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/status-bar_1.8.20_1787781296988_0.33731389266962486"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T21:54:56.802Z","1.8.20":"2026-08-26T21:54:57.145Z","modified":"2026-08-26T21:54:57.428Z"},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"description":"Display information about the current editor such as cursor position, file path, grammar, current branch, ahead/behind commits counts, and line diff count.","homepage":"https://github.com/builtbygio/status-bar#readme","repository":{"type":"git","url":"git+https://github.com/builtbygio/status-bar.git"},"bugs":{"url":"https://github.com/builtbygio/status-bar/issues"},"license":"MIT","readme":"# Status Bar package\n[![OS X Build Status](https://travis-ci.org/atom/status-bar.svg?branch=master)](https://travis-ci.org/atom/status-bar) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/gu8tv4h6cnpeesg2/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/status-bar/branch/master) [![Dependency Status](https://david-dm.org/atom/status-bar.svg)](https://david-dm.org/atom/status-bar)\n\nDisplay information about the current editor such as cursor position, file path, grammar, current branch, ahead/behind commit counts, and line diff count.\n\n![](https://f.cloud.github.com/assets/671378/2241819/f8418cb8-9ce5-11e3-87e5-109e965986d0.png)\n\n## Configuration\n\nThe status bar package accepts the following configuration values:\n\n* `status-bar.cursorPositionFormat` &mdash; A string that describes the format to use for the cursor position status bar tile. It defaults to `%L:%C`. In the format string, `%L` represents the 1-based line number and `%C` represents the 1-based column number.\n\n* `status-bar.selectionCountFormat` &mdash; A string that describes the format to use for the selection count status bar tile. It defaults to `(%L, %C)`. In the format string, `%L` represents the 1-based line count and `%C` represents the 1-based character count.\n\n## API\n\nThis package provides a service that you can use in other Atom packages. To use it, include `status-bar` in the `consumedServices` section of your `package.json`:\n\n```json\n{\n  \"name\": \"my-package\",\n  \"consumedServices\": {\n    \"status-bar\": {\n      \"versions\": {\n        \"^1.0.0\": \"consumeStatusBar\"\n      }\n    }\n  }\n}\n```\n\nThen, in your package's main module, call methods on the service:\n\n```coffee\nmodule.exports =\n  activate: -> # ...\n\n  consumeStatusBar: (statusBar) ->\n    @statusBarTile = statusBar.addLeftTile(item: myElement, priority: 100)\n\n  deactivate: ->\n    # ...\n    @statusBarTile?.destroy()\n    @statusBarTile = null\n```\n\nThe `status-bar` API has four methods:\n\n  * `addLeftTile({ item, priority })` - Add a tile to the left side of the status bar. Lower priority tiles are placed further to the left.\n  * `addRightTile({ item, priority })` - Add a tile to the right side of the status bar. Lower priority tiles are placed further to the right.\n\nThe `item` parameter to these methods can be a DOM element, a [jQuery object](http://jquery.com), or a model object for which a view provider has been registered in the [the view registry](https://atom.io/docs/api/latest/ViewRegistry).\n\n  * `getLeftTiles()` - Retrieve all of the tiles on the left side of the status bar.\n  * `getRightTiles()` - Retrieve all of the tiles on the right side of the status bar\n\nAll of these methods return `Tile` objects, which have the following methods:\n\n  * `getPriority()` - Retrieve the priority that was assigned to the `Tile` when it was created.\n  * `getItem()` - Retrieve the `Tile`'s item.\n  * `destroy()` - Remove the `Tile` from the status bar.\n","readmeFilename":"README.md","_rev":"1-20e182b0b401d0f9b5c95d83ba7533a9"}