{"_id":"@donaldpipowitch/vscode-extension-core","_rev":"1-4221de4670b99118589a0f292a4b6d52","name":"@donaldpipowitch/vscode-extension-core","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@donaldpipowitch/vscode-extension-core","description":"Exports some useful APIs to get information about VS Code extensions.","author":{"name":"Donald Pipowitch"},"license":"MIT","version":"1.0.0","main":"dist","typings":"dist","repository":{"type":"git","url":"git+https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension.git"},"scripts":{"prepublish":"yarn build","build":"tsc -b src","watch":"tsc -b src -w","unit":"jest -c tests/jest.config.js"},"dependencies":{"axios":"^0.18.0"},"devDependencies":{"@types/jest":"^23.3.8","@types/node":"^8.0.0","axios-mock-adapter":"^1.15.0","jest":"^23.6.0","ts-jest":"^23.10.4","typescript":"^3.1.3"},"bugs":{"url":"https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension/issues"},"homepage":"https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension#readme","_id":"@donaldpipowitch/vscode-extension-core@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"donaldpipowitch","email":"pipo@senaeh.de"},"dist":{"integrity":"sha512-WKCK2IAD/3dXvhyMxUNvsMEDGKFt2yGGBKF2BNfXWyaEVxiLa1LMDN/oHV9fkCslyHLlKmkG3Ua76DRq9QFg+Q==","shasum":"d1b1791fffb61a1422fd7d9e6585d5529ba450a0","tarball":"https://registry.npmjs.org/@donaldpipowitch/vscode-extension-core/-/vscode-extension-core-1.0.0.tgz","fileCount":18,"unpackedSize":9184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD2J7CRA9TVsSAnZWagAAJXIP/3+SUa0moVjj+zkfw8Ww\nMARLbDO0L2pbnKqS0Hd+ijQBCRFdRVX2fPQkSGgD97eQsF2A3NEGfx36wujZ\nxgzAioMOlbHaREa7FhvXs49Q9jnJWGSKRl9w28k4Ku/S8HTO8ZzGNkRVIC5j\nMhMCcMDM4bnc6Sd6VrYZBZjkLuP+4cxon1jwy9RMHo/cX2LpdJ/3xyxTAc+6\nRyXJBrTOCzCoeXeFD5K2lehgotBQivl5BbTr3cNc/SaLYgZftjGE8iBEv15u\nZv8BPjiuNvSTqU82Cwsvm6w6ebu/PQKi8O76meS3cXreF3Aa1gLISo9X/+OG\nSdb/lb/It6lrQNzv98HY52LM8qcl03HLuSbaWraXEXqjp5IGmn2QkeodYZzW\nPkClhvdAIL3jd3cZL/AyXcuwI9iYZWqkJzFTx9M603D+96QU6IhriT86feXf\n8YTaKVfTuepzr2euebUNPg50Y9CJ+t53PW6nfkkyVVitJwTMvFeTnyD0oDNg\nvzrZwz2lReDZtUNr4K0G1ASpA42+zuHNj6P3smeOUU66wTmsVC+LmIzYfoaR\nueSwupgaVu6ecUUAPfpxynn3/F8MZGTvTthgD66Mf2jBzTTsYHR+N/DzxKWd\nMa0rX0ltHZuK57ajRHo7xJwULNdLMvPtG7dKYFVw4WvYwSlifPSRLL6nYrMn\nkB7J\r\n=xzyX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7+4/mTu6XcjZyQUb8uIFvIPAO4AcsSwcZsh5BfPxc6AiBQRCsZuNKeW7YemsQziFsPYM1qD6SVFb1ioq/8ylF3cA=="}]},"maintainers":[{"name":"donaldpipowitch","email":"pipo@senaeh.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-extension-core_1.0.0_1544512122822_0.30597881086103773"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-11T07:08:42.649Z","1.0.0":"2018-12-11T07:08:43.006Z","modified":"2022-04-05T05:15:02.081Z"},"maintainers":[{"name":"donaldpipowitch","email":"pipo@senaeh.de"}],"description":"Exports some useful APIs to get information about VS Code extensions.","homepage":"https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension#readme","repository":{"type":"git","url":"git+https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension.git"},"author":{"name":"Donald Pipowitch"},"bugs":{"url":"https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension/issues"},"license":"MIT","readme":"# `@donaldpipowitch/vscode-extension-core`\n\n> Exports some useful APIs to get information about VS Code extensions.\n\n⚠️ This package uses a non-public _Visual Studio MarketPlace APIs_ which could break at any time. ⚠️\n\n💡 This package was created as a part of the [_\"How to create a language server and VS Code extension\"_ article](https://github.com/donaldpipowitch/how-to-create-a-language-server-and-vscode-extension). Don't expect a fully featured and supported package, but feel free to use it, if you find it useful. 💡\n\n## Setup\n\n```bash\n$ npm install @donaldpipowitch/vscode-extension-core\n```\n\n## Usage\n\n### Search\n\nSearch for extensions:\n\n```js\nimport { search } from '@donaldpipowitch/vscode-extension-core';\n\n// search for \"prettier\"-related extensions\nconst query = 'prettier';\nconst { request } = search(query);\n\nrequest.then(console.log);\n// Logs:\n// [\n//   {\n//     \"publisher\": {\n//       \"publisherId\": \"d16f4e39-2ffb-44e3-9c0d-79d873570e3a\",\n//       \"publisherName\": \"esbenp\",\n//       \"displayName\": \"Esben Petersen\",\n//       \"flags\": \"none\"\n//     },\n//     \"extensionId\": \"96fa4707-6983-4489-b7c5-d5ffdfdcce90\",\n//     \"extensionName\": \"prettier-vscode\",\n//     \"displayName\": \"Prettier - Code formatter\",\n//     \"flags\": \"validated, public\",\n//     \"lastUpdated\": \"2018-08-09T12:05:04.413Z\",\n//     \"publishedDate\": \"2017-01-10T19:52:02.703Z\",\n//     \"releaseDate\": \"2017-01-10T19:52:02.703Z\",\n//     \"shortDescription\": \"VS Code plugin for prettier/prettier\",\n//     \"deploymentType\": 0\n//   },\n//   // ...\n// ]\n```\n\nCancel search:\n\n```js\nimport { search } from '@donaldpipowitch/vscode-extension-core';\n\n// search for \"prettier\"-related extensions\nconst query = 'prettier';\nconst { cancel, request } = search(query);\ncancel();\n\nrequest.then(console.log);\n// Logs: undefined\n```\n","readmeFilename":"README.md"}