{"versions":{"1.0.0":{"name":"@types/opencc-js","version":"1.0.0","description":"TypeScript definitions for opencc-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js","license":"MIT","contributors":[{"name":"Pig Fang","url":"https://github.com/g-plane","githubUsername":"g-plane"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/opencc-js"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"46d66e9c47070e4c54ad2ee552d34bd69474ac785266f492f78b88d88d5fba27","typeScriptVersion":"3.6","_id":"@types/opencc-js@1.0.0","dist":{"integrity":"sha512-vde1AUIJIEC2WvvHuqKWu/7P6WBqbcs4sB/B6zVFTNw/mFIUgSvWlFtYdg+NEEdkxBOeehdSZmEVVheikItS3A==","shasum":"e87615a767cf57f4196a8edbff4c878a7d9e91dc","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/opencc-js/-/opencc-js-1.0.0.tgz","fileCount":4,"unpackedSize":4152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAXjNCRA9TVsSAnZWagAA9egQAILQYz0Ge9Os8kYRPakU\nB/6rSFGMFnCkaz8cYzJhmw/cjUcXsi41+yWy3bYfcmrWAeo0mw3OoGLAfuib\nKVPZgAEEiPXx51ATDGfTlzXK2i9ol3cCfjWOcJJ70o+vxMQiAdbDoXS+9BHs\n3oGhz2VAYnPQkdj5T37hLRa2CGFmCOX3i2oJkA+IJzva6pvpIqf3tjUvw2xL\n+So9uMtox+uGMDM9pIWtS9WdkDPPVeGVXvYO+viRcUg/2aqxWl0sMJuH8owj\nnc6pR706uVY6FCs4SZ7816eEaGIioCNr7fRiM3oJMfbzVcClDTwfIRd2RyEh\nYxn9rTDfC11g2Au5fUkeHk2rO311+J0gDYA2DidoONLFBS42hwubNgUVcVJo\nOc6EyGVZC8KQ2T1rWsp/NlzRig5Q4P1b2EqnWd0YT5gZV2FL8aar9cVLWdEG\nXRIaW07KSO+THNS/ZY0AFJ1ujQc9qW0L+pTgc4aoSSWrxHjBQZCFAX6Ozyvm\nhGypXn7K5pVUdnv6s9nipkNh60lgjnkpF6u+2JAJdNNlZyK4mk9l1PjVnAu4\nm9HauN4NHiBXKQQT5/4ukKHwlmz9bDz56Gs2PJZEoPZPirbqHbJNTiGFCnJU\npx7Bi2YPpo47pQhSZwYxxSfNLzqxE9p0OXd7zszsEogy5ArHihoO2CO6dOTN\nUSKo\r\n=xJKV\r\n-----END PGP SIGNATURE-----\r\n","size":1730},"_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/opencc-js_1.0.0_1627486413589_0.3775213437118403"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T18:49:54.357Z"},"1.0.1":{"name":"@types/opencc-js","version":"1.0.1","description":"TypeScript definitions for opencc-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js","license":"MIT","contributors":[{"name":"Pig Fang","url":"https://github.com/g-plane","githubUsername":"g-plane"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/opencc-js"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"b1552f758864ec6dfe34f10a08465e71ca6e8e527d960ad2e0c461ef1000e64a","typeScriptVersion":"4.3","_id":"@types/opencc-js@1.0.1","dist":{"integrity":"sha512-hGie64YbDP48Gc/h3+c8iMhal/zg3ek0gszDS5BsiKw15+PANL55J+N47bw+/Cc/LgsLJ7yJ9Xxu1R68peieVQ==","shasum":"0766ece12234d823feddaba4f2117269d5230f61","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/opencc-js/-/opencc-js-1.0.1.tgz","fileCount":5,"unpackedSize":4152,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6SoSUmQQx2Cc6UEqAqTapYlL7n8oZKzccNg3PavVGLAiA+TSTsAYRXpTu7lskk03+T42Do4TgJZ0eDtzMIE54ERw=="}],"size":1773},"_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/opencc-js_1.0.1_1693780745335_0.9104997145184139"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-03T22:39:05.514Z","publish_time":1693780745514,"_source_registry_name":"default"},"1.0.2":{"name":"@types/opencc-js","version":"1.0.2","description":"TypeScript definitions for opencc-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js","license":"MIT","contributors":[{"name":"Pig Fang","githubUsername":"g-plane","url":"https://github.com/g-plane"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/opencc-js"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"fca4a8d2b880e84403f79eb6b26db2d3fddce64e31306dc9293782ce77aee2e4","typeScriptVersion":"4.5","_id":"@types/opencc-js@1.0.2","dist":{"integrity":"sha512-46nm84b43jngyljQkO3rwDBRfFMyLW6jflkvHb1Q3VQGGaH3Do00jO12mQNB8ErPdxr6JyBVk1tCFb9g0l7APg==","shasum":"0c1f0f6a6a4dfae11c45441fbfa4f547b9823a4a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/opencc-js/-/opencc-js-1.0.2.tgz","fileCount":5,"unpackedSize":3706,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHyen+nzvhWgYg9BylyCAfmoFPD/e2HMMKR0iM02mQqQAiBHP4xNd/Om+jc8Ygj5YVmwFsOFFMKUr6v8UVCM+wT0Mg=="}],"size":1735},"_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/opencc-js_1.0.2_1697624374392_0.13310339147434225"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T10:19:34.609Z","publish_time":1697624374609,"_source_registry_name":"default"},"1.0.3":{"name":"@types/opencc-js","version":"1.0.3","description":"TypeScript definitions for opencc-js","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js","license":"MIT","contributors":[{"name":"Pig Fang","githubUsername":"g-plane","url":"https://github.com/g-plane"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/opencc-js"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"97edd561ac06c7f23b84dbda7487fdce424e89ed0c1722a7654184a889f631ea","typeScriptVersion":"4.5","_id":"@types/opencc-js@1.0.3","dist":{"integrity":"sha512-TENp7YkI2hNlc4dplhivSHj0hU4DORCK56VY7rniaSfA5f87uD3uv+kPIRuH9h64TGv976iVFi4gEHZZtS2y8Q==","shasum":"8168bbdd245fc276a3ae744c114ab1fd630a4a81","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/opencc-js/-/opencc-js-1.0.3.tgz","fileCount":5,"unpackedSize":3706,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV8EtqEuPMp/M62ZVi0eSwICQ/M8Wu1uXTKrpI5fxinQIhAJEm2cqRAPejyFGC82tH0GNz+w6aBX4eJR91IdpnwzTh"}],"size":1735},"_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/opencc-js_1.0.3_1699359761940_0.5761521088124664"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T12:22:42.152Z","publish_time":1699359762152,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.0.3","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.1","ts4.4":"1.0.1","ts4.5":"1.0.3","ts4.6":"1.0.3","ts4.7":"1.0.3","ts4.8":"1.0.3","ts4.9":"1.0.3","ts5.0":"1.0.3","ts5.1":"1.0.3","ts5.2":"1.0.3","ts5.3":"1.0.3","ts5.4":"1.0.3","ts5.5":"1.0.3","ts5.6":"1.0.3","ts5.7":"1.0.3","ts5.8":"1.0.3","ts5.9":"1.0.3","ts6.0":"1.0.3","ts7.0":"1.0.3","ts7.1":"1.0.3"},"name":"@types/opencc-js","time":{"created":"2022-01-27T12:48:43.698Z","modified":"2026-10-04T08:53:58.638Z","1.0.0":"2021-07-28T15:33:33.723Z","1.0.1":"2023-09-03T22:39:05.514Z","1.0.2":"2023-10-18T10:19:34.609Z","1.0.3":"2023-11-07T12:22:42.152Z"},"readme":"# Installation\r\n> `npm install --save @types/opencc-js`\r\n\r\n# Summary\r\nThis package contains type definitions for opencc-js (https://github.com/nk2028/opencc-js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opencc-js/index.d.ts)\r\n````ts\r\nexport type Locale = \"cn\" | \"tw\" | \"twp\" | \"hk\" | \"jp\" | \"t\";\n\nexport interface ConverterOptions {\n    from?: Locale;\n    to?: Locale;\n}\n\nexport type ConvertText = (text: string) => string;\n\nexport function Converter(options: ConverterOptions): ConvertText;\n\nexport function CustomConverter(dictionary: ReadonlyArray<[string, string]>): ConvertText;\n\nexport function HTMLConverter(\n    converter: ConvertText,\n    rootNode: Element,\n    langAttrInitial: string,\n    langAttrNew: string,\n): HTMLConvertHandler;\n\nexport interface HTMLConvertHandler {\n    convert(): void;\n    restore(): void;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 09:09:39 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Pig Fang](https://github.com/g-plane).","users":{}}