]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/.apm/api-notation/1.0.2/package/package.json
Remove mc config
[rbdr/dotfiles] / atom / .apm / api-notation / 1.0.2 / package / package.json
CommitLineData
455f099b 1{"name":"api-notation","version":"1.0.2","description":"Syntax for API Notation, a simple shorthand to write library APIs","keywords":["syntax","theme","api"],"repository":{"type":"git","url":"git+https://github.com/rbdr/api-notation-atom.git"},"license":"MIT","engines":{"atom":">=1.0.0 <2.0.0"},"readme":"# API Notation Syntax for Atom\n\nThis is a grammar for api notation, a simple notation I've been using for\nannotating module APIs in specs and other documents.\n\n## Installing\n\n### From Command Line\n\n`apm install api-notation`\n\n### From GUI\n\n#### Open the Package Manager from Palette Manager\n\n1. Press `⌘⇧P` on OSX or `⌃⇧P` on Windows/Linux to open the palette manager\n2. Look for `Install Packages and Themes`\n\n#### Open the Package Manager from Preferences\n\n1. Go to `Atom -> Preferences` menu\n2. Go to `Install`\n\n#### Install it\n\n1. Search for `api-notation` in the search bar\n2. Click Install\n\n## Usage\n\nOpen a `.api` file, or set it as your syntax.\n\n## API Notation Reference\n\nThe most recent reference as of now is in this [gist][api-reference], so\ncheck that to be sure. But here's a reproduction of the notation.\n\n```\nNameOfClass.WithPossibleNamespace\n + class property\n - instance property\n ~> listened events (socket)\n +> listened events (class/module)\n -> listened events (instance)\n <~ dispatched events (socket)\n <+ dispatched events(class/module)\n <- dispatched events (instance)\n :: class method\n # instance method\n\nOther symbols\n => returns\n->() callback return\n[xx] optional\n<xx> data type\n\nRecommended order: class first, then sockets, then instance. Internally:\nProperties, events, methods.\n\n// Anything after two forward slashes is a comment\n```\n\n## How does it look like?\n\nLike this.\n\n![Like this.][api-example]\n\n[api-reference]: https://gist.github.com/benbeltran/4694c46fcec131468e34\n[api-example]: https://i.imgur.com/5WXuf4u.png\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/rbdr/api-notation-atom/issues"},"homepage":"https://github.com/rbdr/api-notation-atom#readme","_id":"api-notation@1.0.2","_shasum":"307b0647acce54c74350a9d1257fae9ef9c964cd","_resolved":"file:../d-115828-94250-r4fn9v/package.tgz","_from":"../d-115828-94250-r4fn9v/package.tgz"}