{"versions":{"0.7.0":{"name":"@types/snappyjs","version":"0.7.0","description":"TypeScript definitions for snappyjs","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/snappyjs","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","githubUsername":"MysteryBlokHed","url":"https://github.com/MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/snappyjs"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"a69e8178eb36ebf5a52930e951c7937791b5f4e1c127604f3a9df48ff9033221","typeScriptVersion":"4.7","_id":"@types/snappyjs@0.7.0","dist":{"integrity":"sha512-7nzJS8ekRXgme7NP3ToJ/FJYuWwh2OYxPAZ1FDsboD+xXKCFDIgjQPhiYXbueOoh6GaizaU2QnAwYivRAVjxJQ==","shasum":"01f5709ca33b654a08d28da81fb585100fcec2b7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/snappyjs/-/snappyjs-0.7.0.tgz","fileCount":5,"unpackedSize":4299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3KQeUKmb8Ruv6k65oam6TRzX3sb1+g0wn/Zl4sCGrMAiBKVczYJmsQmItd+XD97TitMGbmBLK6Ha8CnhRQfXTBiA=="}],"size":1881},"_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/snappyjs_0.7.0_1710794158068_0.41470845405637236"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-18T20:35:58.277Z","publish_time":1710794158277,"_source_registry_name":"default"},"0.7.1":{"name":"@types/snappyjs","version":"0.7.1","description":"TypeScript definitions for snappyjs","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/snappyjs","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","githubUsername":"MysteryBlokHed","url":"https://github.com/MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/snappyjs"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"5c2b909fa432ec7a6bb881c4673867e08d4847c88f06af57ab5e10b866c4c005","typeScriptVersion":"4.7","_id":"@types/snappyjs@0.7.1","dist":{"integrity":"sha512-OxjzJ6cQZstysMh6PEwZWmK9qlKZyezHJKOkcUkZDooSFuog2votUEKkxMaTq51UQF3cJkXKQ+XGlj4FSl8JQQ==","shasum":"57a92e9159e13badd5c2f067d98a9f36c2e1f249","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/snappyjs/-/snappyjs-0.7.1.tgz","fileCount":5,"unpackedSize":4299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDdPq0r9U4OaX04LAHc+c6lhSl9wpyz3bS+rZN3T8zPAIhAJqruR+yxwBpWPFOpksjws1r/5Iv04kcIVf4ft4kabmi"}],"size":1880},"_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/snappyjs_0.7.1_1711112804792_0.674682382648663"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-22T13:06:44.982Z","publish_time":1711112804982,"_source_registry_name":"default"}},"dist-tags":{"latest":"0.7.1","ts4.7":"0.7.1","ts4.8":"0.7.1","ts4.9":"0.7.1","ts5.0":"0.7.1","ts5.1":"0.7.1","ts5.2":"0.7.1","ts5.3":"0.7.1","ts5.4":"0.7.1","ts5.5":"0.7.1","ts5.6":"0.7.1","ts5.7":"0.7.1","ts5.8":"0.7.1","ts5.9":"0.7.1","ts6.0":"0.7.1"},"name":"@types/snappyjs","time":{"created":"2024-03-19T02:05:01.688Z","modified":"2025-08-03T07:48:12.617Z","0.7.0":"2024-03-18T20:35:58.277Z","0.7.1":"2024-03-22T13:06:44.982Z"},"readme":"# Installation\r\n> `npm install --save @types/snappyjs`\r\n\r\n# Summary\r\nThis package contains type definitions for snappyjs (https://github.com/zhipeng-jia/snappyjs).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/snappyjs.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/snappyjs/index.d.ts)\r\n````ts\r\n// Note: Although the library does specify that Node.js Buffers are allowed,\n// they extend Uint8Array and therefore do not need to be mentioned explicitly in the types\n\nexport as namespace SnappyJS;\n\n/**\n * @param input The byte stream to compress\n * @returns The compressed byte stream, of the same type as the input\n */\nexport function compress<T extends ArrayBuffer | Uint8Array = ArrayBuffer | Uint8Array>(input: T): T;\n\n/**\n * @param input The compressed input\n * @param [maxLength] If provided, throws an exception if the data length in the header\n * exceeds the specified value\n * @returns The decmopressed byte stream, of the same type as the input\n * @throws {Error} If `maxLength` is provided and the length exceeds it\n */\nexport function uncompress<T extends ArrayBuffer | Uint8Array = ArrayBuffer | Uint8Array>(\n    input: T,\n    maxLength?: number,\n): T;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 22 Mar 2024 13:06:43 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Adam Thompson-Sharpe](https://github.com/MysteryBlokHed).","users":{}}