{"_id":"@types/browser-resolve","_rev":"2930892","name":"@types/browser-resolve","description":"TypeScript definitions for browser-resolve","dist-tags":{"latest":"2.0.1","ts2.0":"0.0.5","ts2.1":"0.0.5","ts2.2":"0.0.5","ts2.3":"0.0.5","ts2.4":"0.0.5","ts2.5":"0.0.5","ts2.6":"0.0.5","ts2.7":"0.0.5","ts2.8":"1.11.0","ts2.9":"1.11.0","ts3.0":"1.11.0","ts3.1":"1.11.0","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"2.0.1","ts4.0":"2.0.1","ts4.1":"2.0.1","ts4.2":"2.0.1","ts4.3":"2.0.1","ts4.4":"2.0.1","ts4.5":"2.0.1","ts4.6":"2.0.1","ts4.7":"2.0.1","ts4.8":"2.0.1","ts4.9":"2.0.1","ts5.0":"2.0.1","ts5.1":"2.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:28:08.000Z","created":"2016-08-02T15:48:18.922Z","2.0.1":"2021-07-06T18:20:22.081Z","2.0.0":"2020-10-13T17:11:07.129Z","1.11.0":"2020-03-15T01:57:46.994Z","0.0.5":"2017-08-21T21:49:32.667Z","0.0.4":"2016-09-19T16:30:22.133Z","0.0.3":"2016-08-25T18:36:12.956Z","0.0.2":"2016-08-17T20:36:38.021Z","0.0.1":"2016-08-02T15:48:18.922Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/browser-resolve"},"versions":{"2.0.1":{"name":"@types/browser-resolve","version":"2.0.1","description":"TypeScript definitions for browser-resolve","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-resolve","license":"MIT","contributors":[{"name":"Mario Nebl","url":"https://github.com/marionebl","githubUsername":"marionebl"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/browser-resolve"},"scripts":{},"dependencies":{"@types/resolve":"*"},"typesPublisherContentHash":"953b3aa26a910ef6eb81c1a0ba05aea8e435ecc4e218e669027e9d30df0402d5","typeScriptVersion":"3.6","_id":"@types/browser-resolve@2.0.1","dist":{"shasum":"29e5a7cc51c25c833262a23a6ae9f49de7f03bc6","size":2319,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-2.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-resolve_2.0.1_1625595621931_0.5876623086581427"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:40:13.986Z","publish_time":1625595622081,"_cnpm_publish_time":1625595622081},"2.0.0":{"name":"@types/browser-resolve","version":"2.0.0","description":"TypeScript definitions for browser-resolve","license":"MIT","contributors":[{"name":"Mario Nebl","url":"https://github.com/marionebl","githubUsername":"marionebl"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/browser-resolve"},"scripts":{},"dependencies":{"@types/resolve":"*"},"typesPublisherContentHash":"ac4ec094fd4b21b93555b82520d8494ff41e026e9db00c03e56c0b74b8e8dac2","typeScriptVersion":"3.2","_id":"@types/browser-resolve@2.0.0","dist":{"shasum":"3f29866112bef8d82f0fb11884274d78dc4eaca4","size":2229,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-2.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-resolve_2.0.0_1602609067027_0.5518033046652935"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:40:13.892Z","publish_time":1602609067129,"_cnpm_publish_time":1602609067129},"1.11.0":{"name":"@types/browser-resolve","version":"1.11.0","description":"TypeScript definitions for browser-resolve","license":"MIT","contributors":[{"name":"Mario Nebl","url":"https://github.com/marionebl","githubUsername":"marionebl"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/browser-resolve"},"scripts":{},"dependencies":{"@types/resolve":"*"},"typesPublisherContentHash":"a1c1784c2e348979a5b55d0d18bcbba953e129a8e03c8a647e9797d5f568bf8a","typeScriptVersion":"2.8","_id":"@types/browser-resolve@1.11.0","dist":{"shasum":"28c427182a6e340b3d7082b62da8128c562f04d6","size":2089,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-1.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-1.11.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-resolve_1.11.0_1584237466853_0.3415941824795481"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:40:13.028Z","publish_time":1584237466994,"_cnpm_publish_time":1584237466994},"0.0.5":{"name":"@types/browser-resolve","version":"0.0.5","description":"TypeScript definitions for browser-resolve","license":"MIT","contributors":[{"name":"Mario Nebl","url":"https://github.com/marionebl"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/resolve":"*"},"typesPublisherContentHash":"9e9aff0a9ce4b4e84be9f09f4892b6ec0a9e770230466b465a59c7f3968bc8d1","typeScriptVersion":"2.0","_id":"@types/browser-resolve@0.0.5","dist":{"shasum":"4d7ea4babcbfa45752a5cdc016c0a0fc4dc4de7d","size":1988,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-0.0.5.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-resolve-0.0.5.tgz_1503352172584_0.0883183570113033"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:40:12.153Z","publish_time":1503352172667,"_cnpm_publish_time":1503352172667},"0.0.4":{"name":"@types/browser-resolve","version":"0.0.4","description":"TypeScript definitions for browser-resolve","license":"MIT","author":"Mario Nebl <https://github.com/marionebl/>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/resolve":"*"},"typings":"index.d.ts","typesPublisherContentHash":"2190d4227e7c458c345797a3c273c2b716cfb2db91922c0a7711f8ab7e484fc9","_id":"@types/browser-resolve@0.0.4","dist":{"shasum":"de48436fcdee8b2d41c841e1f7405ca88c8bea72","size":1510,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-0.0.4.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/browser-resolve-0.0.4.tgz_1474302620207_0.3254946849774569"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:40:10.496Z","publish_time":1474302622133,"_cnpm_publish_time":1474302622133},"0.0.3":{"name":"@types/browser-resolve","version":"0.0.3","description":"TypeScript definitions for browser-resolve","license":"MIT","author":"Mario Nebl <https://github.com/marionebl/>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/resolve":"0.0.*"},"typings":"index.d.ts","_id":"@types/browser-resolve@0.0.3","dist":{"shasum":"bed79f88d0dafff709470b55ad65a6fd68b41dab","size":1502,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-0.0.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/browser-resolve-0.0.3.tgz_1472150172398_0.23907195776700974"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:40:08.830Z","publish_time":1472150172956,"_cnpm_publish_time":1472150172956},"0.0.2":{"name":"@types/browser-resolve","version":"0.0.2","description":"TypeScript definitions for browser-resolve","license":"MIT","author":"Mario Nebl <https://github.com/marionebl/>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/resolve":"0.0.*"},"typings":"index.d.ts","_id":"@types/browser-resolve@0.0.2","dist":{"shasum":"3cdce220c5e417cc3136b169989c134b7e61f66a","size":1502,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-0.0.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/browser-resolve-0.0.2.tgz_1471466196051_0.2887407506350428"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:40:07.185Z","publish_time":1471466198021,"_cnpm_publish_time":1471466198021},"0.0.1":{"name":"@types/browser-resolve","version":"0.0.1","description":"TypeScript definitions for browser-resolve","license":"MIT","author":"Mario Nebl <https://github.com/marionebl/>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typings":"browser-resolve.d.ts","_id":"@types/browser-resolve@0.0.1","dist":{"shasum":"54316e539221efcb2d7276d94957805fb504934c","size":7680,"noattachment":false,"key":"/@types/browser-resolve/-/@types/browser-resolve-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/browser-resolve/download/@types/browser-resolve-0.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/browser-resolve-0.0.1.tgz_1470152897916_0.41446189139969647"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:40:06.119Z","publish_time":1470152898922,"_cnpm_publish_time":1470152898922}},"readme":"# Installation\r\n> `npm install --save @types/browser-resolve`\r\n\r\n# Summary\r\nThis package contains type definitions for browser-resolve (https://github.com/defunctzombie/node-browser-resolve).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-resolve.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-resolve/index.d.ts)\r\n````ts\r\n// Type definitions for browser-resolve 2.0\n// Project: https://github.com/defunctzombie/node-browser-resolve\n// Definitions by: Mario Nebl <https://github.com/marionebl>\n//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\nimport * as resv from 'resolve';\n\n/**\n * Resolve a module path and call cb(err, path)\n *\n * @param id Identifier to resolve\n * @param callback\n */\ndeclare function resolve(id: string, cb: resolve.Callback): void;\n\n/**\n * Resolve a module path and call cb(err, path)\n *\n * @param id Identifier to resolve\n * @param options Options to use for resolving, optional.\n * @param callback\n */\ndeclare function resolve(id: string, opts: resolve.AsyncOpts, cb: resolve.Callback): void;\n\ndeclare namespace resolve {\n    interface Opts {\n        /**\n         * directory to begin resolving from\n         */\n        basedir?: string | undefined;\n        /**\n         * the 'browser' property to use from package.json\n         * @default 'browser'\n         */\n        browser?: string | undefined;\n        /**\n         * the calling filename where the require() call originated (in the source)\n         */\n        filename?: string | undefined;\n        /**\n         * modules object with id to path mappings to consult before doing manual resolution\n         * (use to provide core modules)\n         */\n        modules?: { [id: string]: string } | undefined;\n        /**\n         * transform the parsed package.json contents before looking at the main field\n         */\n        packageFilter?: ((info: any, pkgdir: string) => any) | undefined;\n        /**\n         * require.paths array to use if nothing is found on the normal node_modules recursive walk\n         */\n        paths?: string[] | undefined;\n    }\n\n    type AsyncOpts = resv.AsyncOpts & Opts;\n    type SyncOpts = resv.SyncOpts & Opts;\n\n    /**\n     * Callback invoked when resolving asynchronously\n     * @param error\n     * @param resolved Absolute path to resolved identifier\n     */\n    type Callback = (err: Error | null, resolved?: string) => void;\n\n    /**\n     * Returns a module path\n     * @param id Identifier to resolve\n     * @param options Options to use for resolving.\n     */\n    function sync(id: string, opts?: SyncOpts): string;\n}\n\nexport = resolve;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 18:05:45 GMT\r\n * Dependencies: [@types/resolve](https://npmjs.com/package/@types/resolve)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Mario Nebl](https://github.com/marionebl), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-resolve","license":"MIT"}