{"_id":"@types/ent","_rev":"3016377","name":"@types/ent","description":"TypeScript definitions for ent","dist-tags":{"latest":"2.2.6","ts2.0":"2.2.1","ts2.1":"2.2.1","ts2.2":"2.2.1","ts2.3":"2.2.1","ts2.4":"2.2.1","ts2.5":"2.2.1","ts2.6":"2.2.1","ts2.7":"2.2.1","ts2.8":"2.2.1","ts2.9":"2.2.1","ts3.0":"2.2.2","ts3.1":"2.2.3","ts3.2":"2.2.3","ts3.3":"2.2.3","ts3.4":"2.2.3","ts3.5":"2.2.3","ts3.6":"2.2.5","ts3.7":"2.2.5","ts3.8":"2.2.5","ts3.9":"2.2.5","ts4.0":"2.2.5","ts4.1":"2.2.5","ts4.2":"2.2.5","ts4.3":"2.2.5","ts4.4":"2.2.5","ts4.5":"2.2.6","ts4.6":"2.2.6","ts4.7":"2.2.6","ts4.8":"2.2.6","ts4.9":"2.2.6","ts5.0":"2.2.6","ts5.1":"2.2.6","ts5.2":"2.2.6","ts5.3":"2.2.6"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:15.000Z","created":"2016-10-08T17:39:11.787Z","2.2.6":"2023-09-23T17:18:06.067Z","2.2.5":"2021-07-09T02:37:48.996Z","2.2.4":"2021-07-06T19:10:26.420Z","2.2.3":"2020-08-23T04:31:44.517Z","2.2.2":"2020-05-15T05:04:41.692Z","2.2.1":"2016-10-08T17:39:11.787Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ent"},"versions":{"2.2.6":{"name":"@types/ent","version":"2.2.6","description":"TypeScript definitions for ent","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ent","license":"MIT","contributors":[{"name":"Rogier Schouten","url":"https://github.com/rogierschouten","githubUsername":"rogierschouten"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ent"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"e72e10d0a35367fd7ef7c087b281ee11b40aabdcba06f3f98455dbae759e1d6d","typeScriptVersion":"4.5","_id":"@types/ent@2.2.6","dist":{"shasum":"c1595ea9f4d22e1bc8b1882915f7ff27d39f0ec7","size":1882,"noattachment":false,"key":"/@types/ent/-/@types/ent-2.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/ent/download/@types/ent-2.2.6.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ent_2.2.6_1695489485887_0.33017310317098536"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-23T17:18:06.067Z","publish_time":1695489486067,"_source_registry_name":"default","_cnpm_publish_time":1695489486067},"2.2.5":{"name":"@types/ent","version":"2.2.5","description":"TypeScript definitions for ent","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ent","license":"MIT","contributors":[{"name":"Rogier Schouten","url":"https://github.com/rogierschouten","githubUsername":"rogierschouten"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ent"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"f816efd291a2deba7f0e9b28a7014870468ae9552e5d89f85c0e50d33ba2ff9c","typeScriptVersion":"3.6","_id":"@types/ent@2.2.5","dist":{"shasum":"47fb7f97134c39f8ecc3288c50b5028857905975","size":1835,"noattachment":false,"key":"/@types/ent/-/@types/ent-2.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/ent/download/@types/ent-2.2.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ent_2.2.5_1625798268849_0.3036249849024757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T13:31:04.818Z","publish_time":1625798268996,"_cnpm_publish_time":1625798268996},"2.2.4":{"name":"@types/ent","version":"2.2.4","description":"TypeScript definitions for ent","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ent","license":"MIT","contributors":[{"name":"Rogier Schouten","url":"https://github.com/rogierschouten","githubUsername":"rogierschouten"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ent"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"db10703f1ff44443badc81f52517e408c74094dc187c630203092ef701ddf687","typeScriptVersion":"3.6","_id":"@types/ent@2.2.4","dist":{"shasum":"541b4e1c187603bd7184349d762ecd6a18bae967","size":1840,"noattachment":false,"key":"/@types/ent/-/@types/ent-2.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/ent/download/@types/ent-2.2.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ent_2.2.4_1625598626308_0.10116354205732159"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T13:31:04.693Z","publish_time":1625598626420,"_cnpm_publish_time":1625598626420},"2.2.3":{"name":"@types/ent","version":"2.2.3","description":"TypeScript definitions for ent","license":"MIT","contributors":[{"name":"Rogier Schouten","url":"https://github.com/rogierschouten","githubUsername":"rogierschouten"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ent"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"8641fd6e42dcab263977be90e0045d5751a1dbd15ecdb6300f0328e744774794","typeScriptVersion":"3.1","_id":"@types/ent@2.2.3","dist":{"shasum":"fdf88ec7d0b6d441bd523eb670d5900b1eff2075","size":1772,"noattachment":false,"key":"/@types/ent/-/@types/ent-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/ent/download/@types/ent-2.2.3.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ent_2.2.3_1598157104401_0.9604203057408378"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T13:31:02.982Z","publish_time":1598157104517,"_cnpm_publish_time":1598157104517},"2.2.2":{"name":"@types/ent","version":"2.2.2","description":"TypeScript definitions for ent","license":"MIT","contributors":[{"name":"Rogier Schouten","url":"https://github.com/rogierschouten","githubUsername":"rogierschouten"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ent"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"fc5f76c621efd60ae23edafd830d9566aa40a6e1c4c33a60ee43fe49e730f678","typeScriptVersion":"3.0","_id":"@types/ent@2.2.2","dist":{"shasum":"2c4f8ee02ccce476371daaaa348ea4b651892193","size":1824,"noattachment":false,"key":"/@types/ent/-/@types/ent-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/ent/download/@types/ent-2.2.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ent_2.2.2_1589519081547_0.40130088658565577"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T13:31:02.111Z","publish_time":1589519081692,"_cnpm_publish_time":1589519081692},"2.2.1":{"name":"@types/ent","version":"2.2.1","description":"TypeScript definitions for ent 2.2.0","license":"MIT","author":"Rogier Schouten <https://github.com/rogierschouten>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"peerDependencies":{},"typings":"index.d.ts","typesPublisherContentHash":"24e8f477ab3c8d1bd2155a307ac46f22eb23a3027e908d3a0481bc72a2ac29ea","_id":"@types/ent@2.2.1","dist":{"shasum":"334a3491a230efd974c93098e304ff7ac56f7525","size":1315,"noattachment":false,"key":"/@types/ent/-/@types/ent-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/ent/download/@types/ent-2.2.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ent-2.2.1.tgz_1475948351549_0.4981145460624248"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T13:31:00.443Z","publish_time":1475948351787,"_cnpm_publish_time":1475948351787}},"readme":"# Installation\r\n> `npm install --save @types/ent`\r\n\r\n# Summary\r\nThis package contains type definitions for ent (https://github.com/substack/node-ent).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ent.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ent/index.d.ts)\r\n````ts\r\n// Type definitions for ent 2.2.0\n// Project: https://github.com/substack/node-ent\n// Definitions by: Rogier Schouten <https://github.com/rogierschouten>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/**\n * Options for the encode() function\n */\nexport interface EntOpts {\n    /**\n     * If opts.numeric is false or opts.named is true, encoding will used named codes like &pi;.\n     */\n    numeric?: boolean | undefined;\n\n    /**\n     * If opts.numeric is false or opts.named is true, encoding will used named codes like &pi;.\n     */\n    named?: boolean | undefined;\n\n    /**\n     * If opts.special is set to an Object, the key names will be forced to be encoded (defaults to forcing: <>'\"&)\n     */\n    special?: any;\n}\n\n/**\n * Escape unsafe characters in str with html entities. By default, entities are encoded with numeric decimal codes\n */\nexport function encode(s: string, opts?: EntOpts): string;\n\n/**\n * Convert html entities in str back to raw text.\n */\nexport function decode(s: string): string;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 23 Sep 2023 17:07:22 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Rogier Schouten](https://github.com/rogierschouten).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ent","license":"MIT"}