{"id":41873,"library":"retyped-html-minifier-tsd-ambient","title":"retyped-html-minifier-tsd-ambient","description":"DEPRECATED - This package provided ambient TypeScript type definitions for html-minifier, version 1.1.1-0. Originally sourced from DefinitelyTyped, it was published as part of the retyped project which has been superseded. Release cadence: no longer maintained. Differentiator: obsolete; use @types/html-minifier instead.","status":"deprecated","version":"1.1.1-0","language":"javascript","source_language":"en","source_url":"https://github.com/retyped/html-minifier-tsd-ambient","tags":["javascript","retyped","tsd","tsd-ambient"],"install":[{"cmd":"npm install retyped-html-minifier-tsd-ambient","lang":"bash","label":"npm"},{"cmd":"yarn add retyped-html-minifier-tsd-ambient","lang":"bash","label":"yarn"},{"cmd":"pnpm add retyped-html-minifier-tsd-ambient","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package provides ambient types; better to use @types/html-minifier","wrong":"/// <reference path=\"node_modules/retyped-html-minifier-tsd-ambient/html-minifier.d.ts\" />","symbol":"types","correct":"import * as htmlMinifier from 'html-minifier'"},{"note":"TypeScript types may not be recognized without @types package","wrong":"const minify = require('html-minifier').minify","symbol":"minify","correct":"import { minify } from 'html-minifier'"},{"note":"Not a runtime value; type import only","wrong":"const Options = require('html-minifier').Options","symbol":"Options","correct":"import { Options } from 'html-minifier'"}],"quickstart":{"code":"// This package is deprecated. Use @types/html-minifier instead.\n// Install: npm install --save-dev @types/html-minifier","lang":"typescript","description":"Shows how to install and use the current type definitions for html-minifier."},"warnings":[{"fix":"npm uninstall retyped-html-minifier-tsd-ambient && npm install --save-dev @types/html-minifier","message":"Package is deprecated; no longer maintained. Use @types/html-minifier instead.","severity":"breaking","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'-0':21 '1.1.1':20 'ambient':6,11,54 'cadenc':40 'definit':14 'definitelytyp':25 'deprec':7 'differenti':44 'html':3,17 'html-minifi':16 'instead':48 'javascript':49 'longer':42 'maintain':43 'minifi':4,18 'obsolet':45 'origin':22 'packag':9 'part':30 'project':34 'provid':10 'publish':28 'releas':39 'retyp':2,33,50 'retyped-html-minifier-tsd-ambi':1 'sourc':23 'supersed':38 'tsd':5,51,53 'tsd-ambient':52 'type':13 'types/html-minifier':47 'typescript':12 'use':46 'version':19","created_at":"2026-06-04T18:54:31.205124+00:00","updated_at":"2026-06-04T18:54:31.205124+00:00","problems":[{"fix":"npm install --save-dev @types/html-minifier","cause":"Types not recognized; missing type definitions.","error":"Cannot find module 'html-minifier'"},{"fix":"Switch to @types/html-minifier and use import { minify } from 'html-minifier'","cause":"Ambient types not referenced or not compatible with module system.","error":"TypeScript error: Module 'html-minifier' has no exported member 'minify'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/retyped/html-minifier-tsd-ambient#readme","github":"https://github.com/retyped/html-minifier-tsd-ambient","docs":null,"changelog":null,"pypi":null,"npm":"retyped-html-minifier-tsd-ambient","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}