{"_id":"@types/rc","_rev":"947373","name":"@types/rc","description":"TypeScript definitions for rc","dist-tags":{"latest":"1.2.0","ts2.0":"0.0.2","ts2.1":"0.0.2","ts2.2":"1.1.0","ts2.3":"1.1.0","ts2.4":"1.1.0","ts2.5":"1.1.0","ts2.6":"1.1.0","ts2.7":"1.1.0","ts2.8":"1.1.0","ts2.9":"1.1.0","ts3.0":"1.1.0","ts3.1":"1.1.0","ts3.2":"1.1.0","ts3.3":"1.1.0","ts3.4":"1.1.0","ts3.5":"1.1.0","ts3.6":"1.2.0","ts3.7":"1.2.0","ts3.8":"1.2.0","ts3.9":"1.2.0","ts4.0":"1.2.0","ts4.1":"1.2.0","ts4.2":"1.2.0","ts4.3":"1.2.0","ts4.4":"1.2.0","ts4.5":"1.2.0","ts4.6":"1.2.0"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2021-11-18T21:11:08.000Z","created":"2016-09-20T21:16:03.817Z","1.2.0":"2021-08-17T13:01:54.140Z","1.1.0":"2018-12-31T18:28:54.295Z","0.0.2":"2018-12-17T20:47:35.440Z","0.0.1":"2016-09-20T21:16:03.817Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/rc"},"versions":{"1.2.0":{"name":"@types/rc","version":"1.2.0","description":"TypeScript definitions for rc","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rc","license":"MIT","contributors":[{"name":"Daniel Rosenwasser","url":"https://github.com/DanielRosenwasser","githubUsername":"DanielRosenwasser"},{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"},{"name":"kusyka911","url":"https://github.com/kusyka911","githubUsername":"kusyka911"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/rc"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"6ff726fe238164b307832e6ccd925156fae23b0192ce813fe34d3bfc82724ca3","typeScriptVersion":"3.6","_id":"@types/rc@1.2.0","dist":{"shasum":"2d52af5df08017ceb5fe4b96e437b4e719c0ec83","size":2076,"noattachment":false,"key":"/@types/rc/-/@types/rc-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/rc/download/@types/rc-1.2.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc_1.2.0_1629205313976_0.9142664622758752"},"_hasShrinkwrap":false,"publish_time":1629205314140,"_cnpm_publish_time":1629205314140},"1.1.0":{"name":"@types/rc","version":"1.1.0","description":"TypeScript definitions for rc","license":"MIT","contributors":[{"name":"Daniel Rosenwasser","url":"https://github.com/DanielRosenwasser","githubUsername":"DanielRosenwasser"},{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"88e197a6f22314a967b93ea0e9753a31d5bb72161f1dbcb17b973fa44a584ef1","typeScriptVersion":"2.2","_id":"@types/rc@1.1.0","dist":{"shasum":"59cf49ae07e2a34ab744231287b85d9e15a580a2","size":1791,"noattachment":false,"key":"/@types/rc/-/@types/rc-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/rc/download/@types/rc-1.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc_1.1.0_1546280934103_0.06299415747540471"},"_hasShrinkwrap":false,"publish_time":1546280934295,"_cnpm_publish_time":1546280934295},"0.0.2":{"name":"@types/rc","version":"0.0.2","description":"TypeScript definitions for rc","license":"MIT","contributors":[{"name":"Daniel Rosenwasser","url":"https://github.com/DanielRosenwasser","githubUsername":"DanielRosenwasser"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"93bf16e76347c35ae0ed33558b63dcb3117870f4575721a1153d58b6c17c5c84","typeScriptVersion":"2.0","_id":"@types/rc@0.0.2","dist":{"shasum":"cb639295e98fb2f7c4d008d7647e9b1aa304e4e3","size":1726,"noattachment":false,"key":"/@types/rc/-/@types/rc-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/rc/download/@types/rc-0.0.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc_0.0.2_1545079655245_0.5850541604547557"},"_hasShrinkwrap":false,"publish_time":1545079655440,"_cnpm_publish_time":1545079655440},"0.0.1":{"name":"@types/rc","version":"0.0.1","description":"TypeScript definitions for rc","license":"MIT","author":"Daniel Rosenwasser <https://github.com/DanielRosenwasser>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typings":"index.d.ts","typesPublisherContentHash":"4b83505de7a8cfe213f4d5d6009d9786a21b4b6d52733806364e60c6385029d4","_id":"@types/rc@0.0.1","dist":{"shasum":"1f5b8a1b3b1ac6d1fee137c53fac5fa0f28ae0d7","size":1024,"noattachment":false,"key":"/@types/rc/-/@types/rc-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/rc/download/@types/rc-0.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rc-0.0.1.tgz_1474406163577_0.3853431264869869"},"directories":{},"publish_time":1474406163817,"_cnpm_publish_time":1474406163817,"_hasShrinkwrap":false}},"readme":"# Installation\r\n> `npm install --save @types/rc`\r\n\r\n# Summary\r\nThis package contains type definitions for rc (https://github.com/dominictarr/rc).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rc.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rc/index.d.ts)\r\n````ts\r\n// Type definitions for rc 1.2\n// Project: https://github.com/dominictarr/rc\n// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>\n//                 BendingBender <https://github.com/BendingBender>\n//                 kusyka911 <https://github.com/kusyka911>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 2.2\n\ninterface RcResultType<T> {\n    /**\n     * Contains all parsed configurations from different sources\n     * like '/etc/${appname}rc', '/etc/${appname}/config', and other.\n     */\n    configs: T[];\n    /**\n     * same as RcResultType.configs[RcResultType.configs.length - 1]\n     */\n    config: T;\n    /**\n     * For compatibility with previous versions of '@types/rc'\n     */\n    [key: string]: any;\n}\n\ndeclare function rc<T extends object = { [key: string]: any }>(\n    name: string,\n    defaults?: T,\n    /**\n     * Parsed argv object. For example, if args is `--foo bar`, then this value should be `{foo: 'bar'}`\n     * If `argv` is `null` or `undefined`, then `rc`'s default parser will parse `process.argv`.\n     */\n    argv?: T | null,\n    /**\n     * Custom config file parser.\n     * This function will be passed the string contents of each\n     * discovered configuration file should return a parsed object dictionary.\n     */\n    parse?: ((content: string) => { [key: string]: any }) | null\n): T & RcResultType<T>;\n\nexport = rc;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 17 Aug 2021 13:01:24 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Daniel Rosenwasser](https://github.com/DanielRosenwasser), [BendingBender](https://github.com/BendingBender), and [kusyka911](https://github.com/kusyka911).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rc","license":"MIT"}