{"_id":"@azure/autorest-extension-base","_rev":"7-8e61a0b053f1a079ab19f9fc87244e97","name":"@azure/autorest-extension-base","dist-tags":{"preview":"3.0.104","latest":"3.0.104"},"versions":{"3.0.104":{"name":"@azure/autorest-extension-base","version":"3.0.104","keywords":["autorest","extension"],"author":{"name":"Microsoft Corporation"},"license":"MIT","_id":"@azure/autorest-extension-base@3.0.104","maintainers":[{"name":"mikeharder","email":"mharder@microsoft.com"},{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"homepage":"https://github.com/azure/perks#readme","bugs":{"url":"https://github.com/azure/perks/issues"},"dist":{"shasum":"bc1b4d4521a40c8f80b77ffb4ee78846e96dd449","tarball":"https://registry.npmjs.org/@azure/autorest-extension-base/-/autorest-extension-base-3.0.104.tgz","fileCount":19,"integrity":"sha512-MaPeRG2uibIJMiof2wAgAuf4pVg7+Y09b9UAqfZJJwSUJHksiLwv+pyZAaa1nSavwtxIh2mlHRv04YQeAPPXGA==","signatures":[{"sig":"MEUCIQDOM+gk7idFaPMlubQeEVPkmrFT9JGW7aHXWNdACmu9YwIgDnckR0hEtLIuy0EEEV+cGpnWQJxZzpml+QeX2Br3rcg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZxvvCRA9TVsSAnZWagAA2hMP/RDzm3Ak37G92l915Cpy\ntO8L4+en6y6vYzyig0/ih60s+zzk7F17ZkgS6WmR5X31165ipF7NPKn6ELnC\nrnU77PXozL0NF08tZGGIDSMcoBRq26OzcIAQmyioEYRLoo0scLvG8BWfzfhA\n3c8L+Y/X0I0G+1i6VbqQZRI2ia7vC/M3X284EjxNbvgp63yb+saeYuT/o54e\nHPayah+t44YWYy2505eEBgFvpotW4EfehyKyzsuNOdu7uigkESux8co5eSL3\nqmzeRgAsuckEJePcBJitcSM2br62uC0croAxv0Iu+urT1p3a4mEjVg1WM0bB\nahPLseDYur9QHXMaBPxJNshEc7OMpYdY3bVa6g/252ZGWkRqFnKRHvxpPitp\ndYUYmiVlXsLzfWbX9hsxq57s3sFTLpUOMtZTWNvtbBI1mOWOcojPWWQjDnAK\n4My9I7zAkK4XUUauBDPjep5EQvZRS4Y3IS+aFojR4A0uYaPGuhBZ/2SEHBjU\nUhftIRg+5oZjnBC8YbHLRWcJysopNm/Pe+ZKWPXfdsUxnDicKm5RY4ShXPBt\nN31Jz5Wb6P8vUcf35DpRm2dXKG55JW1/NlOyVRmBlA17cya3vaBcGejikJ+W\nsh4E/y5eEKYvnE0e0021UpuXP71BmOlNZz3489TjVv/GwW4MNY4didMRbIQF\n2zcE\r\n=SYUX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/exports.js","_from":"file:common/temp/artifacts/packages/azure-autorest-extension-base-3.0.104.tgz","scripts":{"build":"tsc -p .","clean":"npm run run-pwsh clean","watch":"tsc -p . --watch","eslint":"eslint  . --ext .ts","run-pwsh":"pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"","eslint-fix":"eslint  . --fix --ext .ts","set-version":"node -e \"let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) -1); const orig=JSON.stringify(pkg,null,2);  pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})\"","reset-version":"node -e \"let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2);  pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)\""},"typings":"./dist/exports.d.ts","_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"_resolved":"","_integrity":"","deprecated":"this package has been deprecated -- incorrect organization","repository":{"url":"git+https://github.com/azure/perks.git","type":"git"},"_npmVersion":"6.11.2","description":"Library for creating AutoRest extensions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"vscode-jsonrpc":"^3.5.0"},"pwsh-scripts":{"clean":"remove-item -recurse -ea 0 ./dist","watch":"Start-Process -FilePath (get-command node) -ArgumentList @('./.scripts/fix-aliased-imports.js' , '--watch') ; Start-Process -FilePath (get-command tsc)  @('-p','.','--watch')"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"~6.2.2","typescript":"~3.5.3","@types/node":"10.12.19","@typescript-eslint/parser":"~2.0.0","@typescript-eslint/eslint-plugin":"~2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/autorest-extension-base_3.0.104_1567038446876_0.6109345633179091","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-08-29T00:27:26.695Z","modified":"2026-03-19T20:30:36.768Z","3.0.104":"2019-08-29T00:27:27.090Z"},"bugs":{"url":"https://github.com/azure/perks/issues"},"author":{"name":"Microsoft Corporation"},"license":"MIT","homepage":"https://github.com/azure/perks#readme","keywords":["autorest","extension"],"repository":{"url":"git+https://github.com/azure/perks.git","type":"git"},"description":"Library for creating AutoRest extensions","maintainers":[{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"},{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"}],"readme":"\n# Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n# AutoRest Extension Base\n\nAllows to easily create an AutoRest extension.\nSee https://github.com/azure/autorest-extension-helloworld for an example of how to reference and use this package. We recommend using *that* as a starting point.\n\n## Usage\n\n``` JavaScript\nimport { AutoRestExtension } from \"autorest-extension-base\";\n\nconst extension = new AutoRestExtension();\n\nextension.Add(\"plugin-name\", async autoRestApi => {\n  // plugin implementation\n  // Available functions:\n  // * Information retrieval:\n  //       autoRestApi.ListInputs\n  //       autoRestApi.ReadFile\n  //       autoRestApi.GetValue\n  // * Information submission:\n  //       autoRestApi.WriteFile\n  //       autoRestApi.Message\n});\n\nextension.Run();\n```\n","readmeFilename":"readme.md"}