{"_id":"99voices_npm_tyk_client","_rev":"2-a1948386fe3bb849ef0fd15921f7e6f9","name":"99voices_npm_tyk_client","description":"A client for the tyk service","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"99voices_npm_tyk_client","version":"1.0.0","description":"A client for the tyk service","main":"dist/index.js","repository":{"type":"git","url":"https://github.com/designtesbrot/99voices_npm_tyk_client"},"author":{"name":"caspar.bauer0@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1","chai":"^4.1.2","mocha":"^4.1.0","sinon":"^4.1.3"},"scripts":{"start":"yarn install && ./node_modules/.bin/babel --watch --out-dir ./dist ./src","test":"./node_modules/.bin/mocha --require babel-polyfill --compilers js:babel-register -w --recursive"},"dependencies":{"axios":"^0.17.1","ramda":"^0.25.0","swagger-parser":"^4.0.1"},"_id":"99voices_npm_tyk_client@1.0.0","dist":{"shasum":"a611868bdb0ca27041bd4a7cdc35d794caba231c","tarball":"https://registry.npmjs.org/99voices_npm_tyk_client/-/99voices_npm_tyk_client-1.0.0.tgz","integrity":"sha512-NPQqAU1Q7AwovvCUpz77a3PSxRwQmYjrCzhhqDHGMMkSYJTNg2AcGGmbfm2MTc0hQ9oT1uDwbK6/x49fHz9guQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaagoZgsTNPVJAqcD6LT095uUGDbq5y+Fxm9OjwxUfnwIhALrqXfYvSndwFPQJ/PB3TaIPOw9uxKUhNaKwbB6ErY2m"}]},"maintainers":[{"name":"designtesbrot","email":"caspar.bauer0@gmail.com"}],"_npmUser":{"name":"designtesbrot","email":"caspar.bauer0@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/99voices_npm_tyk_client-1.0.0.tgz_1514723442595_0.5194254862144589"}}},"readme":"# Tyk Client\n\nThis package contains a client for the tyk service.\n\n## Development\n\nThis package is developed within a docker container. Run `scripts/run.sh` to obtain\nthe development environment. Run every yarn operation through the container like\n`docker exec -it ${container_id} yarn ...`. The container watches for file changes on the\nsources and automatically rebuilds the distribution code. Before running `yarn publish`\nbe sure to run `yarn login`.\n\n## Usage\n\nThis package contains and returns a singleton. Meaning that you can require the\nfile wherever you want to, and you will always obtain the same client instance.\nIn order for this to work it is vital that the client instance is first initialized.\nThis is done like this:\n\n```\nimport Config from '99voices_npm_config';\nimport Client from '99voices_npm_tyk_client';\n\nlet config = Config();\n\nconst client = Client({config});\n```\n\n## API\n\n### registerSwaggerApi({api, options})\n\nRegisters an api at tyk based on the provided swagger file. It takes care of making public stuff public, and private stuff private. It also hot-reloads tyk immediately afterwards to have the changes applied immediately. Returns a promise.\n","maintainers":[{"name":"designtesbrot","email":"caspar.bauer0@gmail.com"}],"time":{"modified":"2022-06-12T14:09:01.510Z","created":"2017-12-31T12:30:43.484Z","1.0.0":"2017-12-31T12:30:43.484Z"},"repository":{"type":"git","url":"https://github.com/designtesbrot/99voices_npm_tyk_client"},"author":{"name":"caspar.bauer0@gmail.com"},"license":"MIT","readmeFilename":"README.md"}