{"library":"htmlencode","type":"library","category":null,"description":"htmlencode is a minimalist Node.js module, currently at version 0.0.5, designed to provide basic HTML encoding and decoding functionalities. It serves as a wrapper for the legacy client-side JavaScript library found at `strictly-software.com/htmlencode`, adapting it for server-side Node.js environments. The package introduced two key modifications to the original source: renaming the global `Encoder` object to `module.exports` for CommonJS compatibility and patching a global variable leak within the `htmlDecode` method. Given its low version number and the nature of its changes (primarily adapting an external, presumably old, client-side script for Node.js), the package appears to have had a very limited release cadence and is likely no longer actively maintained. It offers basic HTML entity conversion, supporting both named and numerical entities, configured either globally via the `EncodeType` property or through an `Encoder` class instance.","language":"javascript","status":"abandoned","version":"0.0.5","tags":["javascript","html","encode","decode"],"last_verified":"Wed May 27","install":[{"cmd":"npm install htmlencode","imports":["const htmlencode = require('htmlencode');","const { htmlEncode } = require('htmlencode');","const { Encoder } = require('htmlencode');"]},{"cmd":"yarn add htmlencode","imports":[]},{"cmd":"pnpm add htmlencode","imports":[]}],"homepage":null,"github":"https://github.com/danmactough/node-htmlencode","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/htmlencode","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/htmlencode/compatibility"}}