{"name":"@types/depd","version":"1.1.38","license":"MIT","_id":"@types/depd@1.1.38","maintainers":[{"name":"types","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/danny8002","name":"Zhiyuan Wang","githubUsername":"danny8002"},{"url":"https://github.com/BendingBender","name":"BendingBender","githubUsername":"BendingBender"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/depd","dist":{"shasum":"05bace48ab3b30e72280bc870f0964ce78ca6ad8","tarball":"http://registry-npm.ywwl.com/@types/depd/download/@types/depd-1.1.38.tgz","fileCount":5,"integrity":"sha512-CzBVWcYMVwSzZlXJ6/Eyy/9owI65qpgWMFEtCsdqEoTMzSsjIiHlIKPq0Pa1SpBxiApaKeBehL+6bChgsVtYuA==","signatures":[{"sig":"MEYCIQDzZEJBAlMCw/XdWRZKpuybPB468Y7gFz9U9szdSk9+gQIhAIFf4vNqGuyGUxv4EA61KT44LC6bwvH6ZxnPCx4Ew7lR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5731,"size":1976,"noattachment":false,"key":"/@types/depd/-/@types/depd-1.1.38.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/depd"},"description":"TypeScript definitions for depd","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.6","_npmOperationalInternal":{"tmp":"tmp/depd_1.1.38_1785541691686_0.9957791404606584","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"4170a4d948f1f64ad803621860001d535f264658b2ef26cc3f33f0213cf30fd7","readme":"# Installation\r\n> `npm install --save @types/depd`\r\n\r\n# Summary\r\nThis package contains type definitions for depd (https://github.com/dougwilson/nodejs-depd).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/depd.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/depd/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\nexport = depd;\n\ndeclare function depd(namespace: string): depd.Deprecate;\n\ndeclare namespace depd {\n    interface Deprecate {\n        (message: string): void;\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n        function<T extends Function>(fn: T, message?: string): T;\n        property<T extends object>(obj: T, prop: keyof T, message: string): void;\n    }\n\n    interface DeprecationError extends Error {\n        readonly name: \"DeprecationError\";\n        namespace: string;\n        stack: string;\n    }\n}\n\ndeclare global {\n    namespace NodeJS {\n        interface Process {\n            addListener(event: \"deprecation\", listener: (deprecationError: depd.DeprecationError) => void): this;\n            emit(event: \"deprecation\", code: depd.DeprecationError): boolean;\n            on(event: \"deprecation\", listener: (deprecationError: depd.DeprecationError) => void): this;\n            once(event: \"deprecation\", listener: (deprecationError: depd.DeprecationError) => void): this;\n            prependListener(event: \"deprecation\", listener: (deprecationError: depd.DeprecationError) => void): this;\n            prependOnceListener(\n                event: \"deprecation\",\n                listener: (deprecationError: depd.DeprecationError) => void,\n            ): this;\n            listeners(event: \"deprecation\"): Array<(deprecationError: depd.DeprecationError) => void>;\n        }\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 31 Jul 2026 23:48:11 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [Zhiyuan Wang](https://github.com/danny8002), and [BendingBender](https://github.com/BendingBender).\r\n","publish_time":1785541691858,"_cnpm_publish_time":1785541691858,"dist-tags":{"latest":"1.1.38","ts2.0":"1.1.31","ts2.1":"1.1.31","ts2.2":"1.1.32","ts2.3":"1.1.32","ts2.4":"1.1.32","ts2.5":"1.1.32","ts2.6":"1.1.32","ts2.7":"1.1.32","ts2.8":"1.1.32","ts2.9":"1.1.32","ts3.0":"1.1.32","ts3.1":"1.1.32","ts3.2":"1.1.32","ts3.3":"1.1.32","ts3.4":"1.1.32","ts3.5":"1.1.32","ts3.6":"1.1.32","ts3.7":"1.1.32","ts3.8":"1.1.32","ts3.9":"1.1.32","ts4.0":"1.1.32","ts4.1":"1.1.32","ts4.2":"1.1.32","ts4.3":"1.1.32","ts4.4":"1.1.32","ts4.5":"1.1.36","ts4.6":"1.1.36","ts4.7":"1.1.36","ts4.8":"1.1.37","ts4.9":"1.1.37","ts5.0":"1.1.37","ts5.1":"1.1.37","ts5.2":"1.1.37","ts5.3":"1.1.37","ts5.4":"1.1.37","ts5.5":"1.1.37","ts5.6":"1.1.38","ts5.7":"1.1.38","ts5.8":"1.1.38","ts5.9":"1.1.38","ts6.0":"1.1.38","ts7.0":"1.1.38","ts7.1":"1.1.38"}}