{"_id":"@types/cmd-shim","_rev":"3016271","name":"@types/cmd-shim","description":"TypeScript definitions for cmd-shim","dist-tags":{"latest":"5.0.0","ts2.0":"2.0.0","ts2.1":"2.0.0","ts2.2":"2.0.0","ts2.3":"2.0.0","ts2.4":"2.0.0","ts2.5":"2.0.0","ts2.6":"2.0.0","ts2.7":"2.0.0","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.1","ts3.3":"2.0.1","ts3.4":"2.0.1","ts3.5":"2.0.1","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"5.0.0","ts4.0":"5.0.0","ts4.1":"5.0.0","ts4.2":"5.0.0","ts4.3":"5.0.0","ts4.4":"5.0.0","ts4.5":"5.0.0","ts4.6":"5.0.0","ts4.7":"5.0.0","ts4.8":"5.0.0","ts4.9":"5.0.0","ts5.0":"5.0.0","ts5.1":"5.0.0","ts5.2":"5.0.0","ts5.3":"5.0.0"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:07.000Z","created":"2018-01-08T18:31:15.054Z","5.0.0":"2022-04-23T04:32:00.996Z","2.0.1":"2020-10-28T18:30:05.658Z","2.0.0":"2018-01-08T18:31:15.054Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/cmd-shim"},"versions":{"5.0.0":{"name":"@types/cmd-shim","version":"5.0.0","description":"TypeScript definitions for cmd-shim","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cmd-shim","license":"MIT","contributors":[{"name":"Andrew Bradley","url":"https://github.com/cspotcode","githubUsername":"cspotcode"},{"name":"Hiroki Osame","url":"https://github.com/privatenumber","githubUsername":"privatenumber"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/cmd-shim"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"40e3cbd1ba2867bc3ef75d86e86d3e09072e77f9a8b0355456bb231e2971a78d","typeScriptVersion":"3.9","_id":"@types/cmd-shim@5.0.0","dist":{"shasum":"3ff3eafaeaff7659c2221b6e3b8975408cdeac23","size":1784,"noattachment":false,"key":"/@types/cmd-shim/-/@types/cmd-shim-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/cmd-shim/download/@types/cmd-shim-5.0.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cmd-shim_5.0.0_1650688320851_0.5710740151434777"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-23T04:32:06.159Z","publish_time":1650688320996,"_cnpm_publish_time":1650688320996},"2.0.1":{"name":"@types/cmd-shim","version":"2.0.1","description":"TypeScript definitions for cmd-shim","license":"MIT","contributors":[{"name":"Andrew Bradley","url":"https://github.com/cspotcode","githubUsername":"cspotcode"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/cmd-shim"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"f36e109fe8bbb67cb847d8dbcad4663c6e61143857576ad65ca7ae9b58036804","typeScriptVersion":"3.2","_id":"@types/cmd-shim@2.0.1","dist":{"shasum":"c01e973ec250ab71b5c8595af5d8381f28d65eb3","size":1752,"noattachment":false,"key":"/@types/cmd-shim/-/@types/cmd-shim-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/cmd-shim/download/@types/cmd-shim-2.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cmd-shim_2.0.1_1603909805331_0.931988289379337"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:13:33.712Z","publish_time":1603909805658,"_cnpm_publish_time":1603909805658},"2.0.0":{"name":"@types/cmd-shim","version":"2.0.0","description":"TypeScript definitions for cmd-shim","license":"MIT","contributors":[{"name":"Andrew Bradley","url":"https://github.com/cspotcode","githubUsername":"cspotcode"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"dac76bcda47b69c6a0a96ce90acbea8fe5cd6cd1ad9d52f0937e1ca0158c852a","typeScriptVersion":"2.0","_id":"@types/cmd-shim@2.0.0","dist":{"shasum":"c3d81d3c2a51af3c65c19b4f1d493a75abf07a5c","size":1776,"noattachment":false,"key":"/@types/cmd-shim/-/@types/cmd-shim-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/cmd-shim/download/@types/cmd-shim-2.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cmd-shim-2.0.0.tgz_1515436274913_0.16831694031134248"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:13:33.585Z","publish_time":1515436275054,"_cnpm_publish_time":1515436275054}},"readme":"# Installation\r\n> `npm install --save @types/cmd-shim`\r\n\r\n# Summary\r\nThis package contains type definitions for cmd-shim (https://github.com/npm/cmd-shim).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cmd-shim.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cmd-shim/index.d.ts)\r\n````ts\r\n// Type definitions for cmd-shim 5.0\n// Project: https://github.com/npm/cmd-shim\n// Definitions by: Andrew Bradley <https://github.com/cspotcode>\n//                 Hiroki Osame <https://github.com/privatenumber>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/**\n * Create a cmd shim at `to` for the command line program at `from`. e.g.\n *\n * cmdShim(__dirname + '/cli.js', '/usr/bin/command-name');\n */\ndeclare function cmdShim(from: string, to: string): Promise<void>;\n\ndeclare namespace cmdShim {\n    /**\n     * Create a cmd shim at `to` for the command line program at `from`, but will just\n     * continue if the file does not exist.\n     *\n     * cmdShim.ifExists(__dirname + '/cli.js', '/usr/bin/command-name');\n     */\n    function ifExists(from: string, to: string): Promise<void>;\n}\n\nexport = cmdShim;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 23 Apr 2022 04:31:35 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Andrew Bradley](https://github.com/cspotcode), and [Hiroki Osame](https://github.com/privatenumber).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cmd-shim","license":"MIT"}