{"versions":{"1.0.0":{"name":"@types/truncate-utf8-bytes","version":"1.0.0","description":"TypeScript definitions for truncate-utf8-bytes","license":"MIT","contributors":[{"name":"Ben Limmer","url":"https://github.com/blimmer","githubUsername":"blimmer"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/truncate-utf8-bytes"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"54440c879dbb79668b0907ef2bc362255496a8c8352bbdc52b8756c2f0a77cdc","typeScriptVersion":"3.3","_id":"@types/truncate-utf8-bytes@1.0.0","dist":{"shasum":"f35d5bd14a86e09bf91c1610c636cb39d71e7b98","size":1551,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.0.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/truncate-utf8-bytes_1.0.0_1606765584267_0.9270569937541826"},"_hasShrinkwrap":false,"publish_time":1606765584377,"_cnpm_publish_time":1606765584377},"1.0.1":{"name":"@types/truncate-utf8-bytes","version":"1.0.1","description":"TypeScript definitions for truncate-utf8-bytes","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/truncate-utf8-bytes","license":"MIT","contributors":[{"name":"Ben Limmer","githubUsername":"blimmer","url":"https://github.com/blimmer"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/truncate-utf8-bytes"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"807749fab542afe084d3c568290abc32e30178919a95e85c0297846c199812f4","typeScriptVersion":"4.5","_id":"@types/truncate-utf8-bytes@1.0.1","dist":{"integrity":"sha512-iQMeWyIS/Fyc08vCwoa4082UcXVDf9i5ZYZ0wFNtry4JGoRPe1RWXVAOeKdtXe2EOO4443WFfmHbltbtCSns2g==","shasum":"b415f4e07139566b8e70663f51d849e3ba9e5c47","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.1.tgz","fileCount":5,"unpackedSize":2938,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/+LnPLyHHy/3hpFj668sSXIeeSfI9rpbu56W0IVNHbgIhANI4rVnUSpxuR4W45ME1wS39e47apJNWYpbaYr7Oc77V"}],"size":1595},"_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/truncate-utf8-bytes_1.0.1_1697647465061_0.08424877308574175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T16:44:25.301Z","publish_time":1697647465301,"_source_registry_name":"default"},"1.0.2":{"name":"@types/truncate-utf8-bytes","version":"1.0.2","description":"TypeScript definitions for truncate-utf8-bytes","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/truncate-utf8-bytes","license":"MIT","contributors":[{"name":"Ben Limmer","githubUsername":"blimmer","url":"https://github.com/blimmer"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/truncate-utf8-bytes"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"3828cb062cfacca318dd210e214a337cc9e81c179eec8d68af26f3ccfeb39790","typeScriptVersion":"4.5","_id":"@types/truncate-utf8-bytes@1.0.2","dist":{"integrity":"sha512-4zYYlAmaoslO+Y32KXY1DtITvlw+KbEaTpn2D+tgai6B14yWi0yeI1z1thAF3Hl2R6ABINT7mffvSTPfTTfK5Q==","shasum":"0cbfbc5277848134acd5c12f414e521080dc4fa3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz","fileCount":5,"unpackedSize":2938,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOcmfi9pUolb0dcJTjec9NiqtbNs69ogZwVfztdYqm8gIgQvlraOFPpJWzhpR89dx+9vkr01KbJS7VBM48so26EY4="}],"size":1590},"_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/truncate-utf8-bytes_1.0.2_1699380573240_0.39409350369959384"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T18:09:33.471Z","publish_time":1699380573471,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.0.2","ts3.3":"1.0.0","ts3.4":"1.0.0","ts3.5":"1.0.0","ts3.6":"1.0.0","ts3.7":"1.0.0","ts3.8":"1.0.0","ts3.9":"1.0.0","ts4.0":"1.0.0","ts4.1":"1.0.0","ts4.2":"1.0.0","ts4.3":"1.0.0","ts4.4":"1.0.0","ts4.5":"1.0.2","ts4.6":"1.0.2","ts4.7":"1.0.2","ts4.8":"1.0.2","ts4.9":"1.0.2","ts5.0":"1.0.2","ts5.1":"1.0.2","ts5.2":"1.0.2","ts5.3":"1.0.2","ts5.4":"1.0.2","ts5.5":"1.0.2","ts5.6":"1.0.2","ts5.7":"1.0.2","ts5.8":"1.0.2","ts5.9":"1.0.2","ts6.0":"1.0.2"},"name":"@types/truncate-utf8-bytes","time":{"modified":"2025-08-03T07:54:40.304Z","created":"2022-01-27T11:06:02.746Z","1.0.0":"2020-11-30T19:46:24.377Z","1.0.1":"2023-10-18T16:44:25.301Z","1.0.2":"2023-11-07T18:09:33.471Z"},"readme":"# Installation\r\n> `npm install --save @types/truncate-utf8-bytes`\r\n\r\n# Summary\r\nThis package contains type definitions for truncate-utf8-bytes (https://github.com/parshap/truncate-utf8-bytes#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/truncate-utf8-bytes.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/truncate-utf8-bytes/index.d.ts)\r\n````ts\r\n/** Returns string truncated to at most length bytes in length. */\ndeclare function truncate(string: string, byteLength: number): string;\n\nexport = truncate;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Ben Limmer](https://github.com/blimmer).","users":{}}