{"versions":{"0.4.0":{"name":"@types/omelette","version":"0.4.0","description":"TypeScript definitions for omelette","license":"MIT","contributors":[{"name":"Kamontat Chantrachirathumrong","url":"https://github.com/kamontat","githubUsername":"kamontat"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/omelette"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"42fea8b8e26d13bf8971403154a1d3e4b4c4f1ff6e38ad54378069a2c2cb20ab","typeScriptVersion":"2.7","_id":"@types/omelette@0.4.0","dist":{"shasum":"29f61ed4bb6e015069c98dfa0eb48e7eb573723a","size":1874,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/omelette/-/omelette-0.4.0.tgz"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/omelette_0.4.0_1566254396149_0.9492972435521008"},"_hasShrinkwrap":false,"publish_time":1566254396254,"_cnpm_publish_time":1566254396254},"0.4.1":{"name":"@types/omelette","version":"0.4.1","description":"TypeScript definitions for omelette","license":"MIT","contributors":[{"name":"Kamontat Chantrachirathumrong","url":"https://github.com/kamontat","githubUsername":"kamontat"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/omelette"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"990209f6c6e0da0b5ecdb99958ac2eb11609ac1fca9df6650f0e687212174f1a","typeScriptVersion":"3.3","_id":"@types/omelette@0.4.1","dist":{"shasum":"75dac9475162e9ac2377b8c85e2e0404e2c0a716","size":1895,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/omelette/-/omelette-0.4.1.tgz"},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/omelette_0.4.1_1610319224834_0.6580285118637443"},"_hasShrinkwrap":false,"publish_time":1610319224974,"_cnpm_publish_time":1610319224974},"0.4.2":{"name":"@types/omelette","version":"0.4.2","description":"TypeScript definitions for omelette","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omelette","license":"MIT","contributors":[{"name":"Kamontat Chantrachirathumrong","url":"https://github.com/kamontat","githubUsername":"kamontat"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/omelette"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ed9cdf3c6639f0142ad442102ef201244ba657d24a5d207d858be4ae04923081","typeScriptVersion":"4.1","_id":"@types/omelette@0.4.2","dist":{"integrity":"sha512-buPQ+d47ECrBzx3rmU3pFm6XTAlBy0AHNWVJXx3l8VAx+ejmvsgcAX2/a3kz6bxMoRSoF0As3Z/hprjw3ZOV6w==","shasum":"fefaae32c8df08f44d0b9493ea3acf86143e4dcf","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/omelette/-/omelette-0.4.2.tgz","fileCount":5,"unpackedSize":6107,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTOORGkaIK1xIodzliYly8M1Nky+6EO4vn0F2SLZoCBAiEAuIPDB2t/wXfECkIMyHYy+6LfOy7U/04n8VxG2vzS70k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaWxbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobCw/5AaF+e+Xl2oOrVyHUznqL8Mo05dsJRCGewmIJkUEoQz0Fotmv\r\niRNbFXmLeNcWEbC/MfOKi/LWlZy7+Yr0O/4M/ZzM/opV9/UAX/i0dLS1kxS6\r\n8JOZHlG1r5HAca+4ZPJyqPOtDAyu7pr3gsauN/M0WfclpG2lECQIAAdEUsbl\r\nJJ+USJYPlAVWM4cUW7TZ2+3JPkVBrek4+JD7/J1dGNsUaCRXneu+fbQBwKx2\r\n+CarrYVMbP4DFVgAO/xqyS8bL1ZuiO3Jroe7yP2KmDbIysIDtnVLZCELkVXq\r\nsaGkB2xRy9izMq3gAPAceJR6gyH1dnmANSj2jq7Fnr7V6xquUUZn+idyys1o\r\nwPhKkVWQXWyRPSZYl4tlcWjFzugfNSi2FVaYWgealLckVIx92RzesXhOAs9x\r\nITQBXqNElNGHye1KKrCKGk2WcCqUgbKG9E+Kfaosw7rmg+BLLry5uMW1ZeSr\r\nm31Qaf8wlhbHd0Raq3debIzi/2Nksx1RIeOAwIQ2OItLxmbpwNpAXioea7kq\r\n9/9ii1ORDBPOq0173bfoH5iMixBIxVZ9yN4gcRCafuGHyckZXc7tWKOLm9bl\r\nCLOwHMnk5GYMHpxltIVCHEyYxXvq9Psno7sXpsNYrO+xYfz+0JNzKQS08WKc\r\nRl4aqkgPTOUDjM5ZV0iWIv0I5OE1PK2w/UE=\r\n=86Ij\r\n-----END PGP SIGNATURE-----\r\n","size":2026},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/omelette_0.4.2_1667853403507_0.967502745647562"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-07T20:36:50.009Z"},"0.4.3":{"name":"@types/omelette","version":"0.4.3","description":"TypeScript definitions for omelette","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omelette","license":"MIT","contributors":[{"name":"Kamontat Chantrachirathumrong","githubUsername":"kamontat","url":"https://github.com/kamontat"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/omelette"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9293cbc7d046258d168dae05aff9817eba76c23a9a78beccb3a876a2b27bebaf","typeScriptVersion":"4.5","_id":"@types/omelette@0.4.3","dist":{"integrity":"sha512-qRd8sVuqwYPbCITzIJ40QlxLICmfxAFqKzyetI2MCI0dXEpJ54mzj0ra8JigXq4+gZGAzdVKWQX1SMAnyWPZkA==","shasum":"c4fd1ba0310c3f1172b50684344b01edfc15ff9e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/omelette/-/omelette-0.4.3.tgz","fileCount":5,"unpackedSize":5571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHcD2icrk98QkZ65naOuFW5tiCIsv3GrK7wsnY75GNiMAiEArGBCovKJI3y5bdwNrpZE0czeZ8M/TPyvrPDuElvX77E="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/omelette_0.4.3_1697624108659_0.6216475923072966"},"_hasShrinkwrap":false},"0.4.4":{"name":"@types/omelette","version":"0.4.4","description":"TypeScript definitions for omelette","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omelette","license":"MIT","contributors":[{"name":"Kamontat Chantrachirathumrong","githubUsername":"kamontat","url":"https://github.com/kamontat"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/omelette"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"4470b707b395f6b4f3f73541cd6bf52aaa58cfced0437ce9fd24b9becc758670","typeScriptVersion":"4.5","_id":"@types/omelette@0.4.4","dist":{"integrity":"sha512-aEZ+4w3lvomNt6hX+H+VZey8a3fXa/jL6zZdu0vHrc7aGIe2yIybHQgIl7eXcMPchVaPekebQQ2Con7wGgB3mQ==","shasum":"b98e6ac3c3b40182c8ac19452d28fe06b59c25c3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/omelette/-/omelette-0.4.4.tgz","fileCount":5,"unpackedSize":5571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXCC1lgAc47v8MXrfnu/l8YXj6cfl8xZarYSEr6l1kBAiB3FO2STVOtwpwcDZPLAvOlpE0dZ1Lr60iRNBsTUYrurg=="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/omelette_0.4.4_1699359558511_0.32295421689839854"},"_hasShrinkwrap":false},"0.4.5":{"name":"@types/omelette","version":"0.4.5","license":"MIT","_id":"@types/omelette@0.4.5","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/kamontat","name":"Kamontat Chantrachirathumrong","githubUsername":"kamontat"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omelette","dist":{"shasum":"62618a22a920c37f3665e5d47396fbdee10b4c3b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/omelette/-/omelette-0.4.5.tgz","fileCount":5,"integrity":"sha512-zUCJpVRwfMcZfkxSCGp73mgd3/xesvPz5tQJIORlfP/zkYEyp9KUfF7IP3RRjyZR3DwxkPs96/IFf70GmYZYHQ==","signatures":[{"sig":"MEUCIFwwjE+kEBOViRyBXoJzXn9KFc3brY6rtV2WoKF5yUbkAiEA3rg6FunvGjm/BcD0GNuhkNXrUK8FWzlSbczoIodLa0o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5633,"size":1975},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/omelette"},"description":"TypeScript definitions for omelette","directories":{},"dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.0","_npmOperationalInternal":{"tmp":"tmp/omelette_0.4.5_1742618184233_0.4458216380283502","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"bdf529bfdc3ddf5138b5616103a8d27a2ee0832d4ff73c4c320c9fcc8e346c0e","_cnpmcore_publish_time":"2025-03-22T04:36:24.423Z","publish_time":1742618184423,"_source_registry_name":"default"}},"dist-tags":{"latest":"0.4.5","ts2.7":"0.4.0","ts2.8":"0.4.0","ts2.9":"0.4.0","ts3.0":"0.4.0","ts3.1":"0.4.0","ts3.2":"0.4.0","ts3.3":"0.4.1","ts3.4":"0.4.1","ts3.5":"0.4.1","ts3.6":"0.4.1","ts3.7":"0.4.1","ts3.8":"0.4.1","ts3.9":"0.4.1","ts4.0":"0.4.1","ts4.1":"0.4.2","ts4.2":"0.4.2","ts4.3":"0.4.2","ts4.4":"0.4.2","ts4.5":"0.4.4","ts4.6":"0.4.4","ts4.7":"0.4.4","ts4.8":"0.4.4","ts4.9":"0.4.4","ts5.0":"0.4.5","ts5.1":"0.4.5","ts5.2":"0.4.5","ts5.3":"0.4.5","ts5.4":"0.4.5","ts5.5":"0.4.5","ts5.6":"0.4.5","ts5.7":"0.4.5","ts5.8":"0.4.5","ts5.9":"0.4.5","ts6.0":"0.4.5"},"name":"@types/omelette","time":{"modified":"2025-08-03T07:25:17.523Z","created":"2022-01-27T21:33:11.255Z","0.4.0":"2019-08-19T22:39:56.254Z","0.4.1":"2021-01-10T22:53:44.974Z","0.4.2":"2022-11-07T20:36:43.686Z","0.4.3":"2023-10-18T10:15:08.881Z","0.4.4":"2023-11-07T12:19:18.659Z","0.4.5":"2025-03-22T04:36:24.423Z"},"readme":"# Installation\r\n> `npm install --save @types/omelette`\r\n\r\n# Summary\r\nThis package contains type definitions for omelette (https://github.com/f/omelette).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omelette.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/omelette/index.d.ts)\r\n````ts\r\ndeclare var omelette: omelette.Omelette;\n\nexport = omelette;\nexport as namespace omelette;\n\ndeclare namespace omelette {\n    interface Omelette {\n        (message: string): Instance;\n        (literals: TemplateStringsArray, ...placeholders: TemplateValue[]): Instance;\n    }\n\n    interface Instance {\n        cleanupShellInitFile(initFile?: string): void;\n\n        init(): void;\n        next(fn: () => void): void;\n\n        on(action: string, callback: Callback): void;\n        on(action: \"complete\", callback: CallbackOnComplete): void;\n\n        onAsync(actions: string, callback: CallbackAsync): void;\n\n        setupShellInitFile(initFile?: string): void;\n\n        tree(value: TreeValue): this;\n    }\n\n    type ReplyFn<T> = (value: T) => void;\n\n    interface CallbackValue {\n        before: string;\n        fragment: number;\n        line: string;\n        reply: ReplyFn<Choices>;\n    }\n\n    interface CallbackAsyncValue {\n        before: string;\n        fragment: number;\n        line: string;\n        reply: ReplyFn<Promise<Choices>>;\n    }\n\n    type Callback = (obj: CallbackValue) => void;\n    type CallbackOnComplete = (fragment: string, obj: CallbackValue) => void;\n\n    type CallbackAsync = (obj: CallbackAsyncValue) => Promise<void>;\n\n    type Choices = string[];\n\n    type TemplatePrimativeValue = string | Choices;\n\n    type TemplateValue = TemplatePrimativeValue | Callback;\n\n    type TreeCallback<V> = () => V;\n\n    interface TreeValue {\n        [key: string]: TreeValue | Choices | TreeCallback<Choices>;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 22 Mar 2025 04:36:23 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Kamontat Chantrachirathumrong](https://github.com/kamontat).","users":{}}