# `CKEditor5.Installer.NPMRegistry`
[🔗](https://github.com/Mati365/ckeditor5-phoenix/blob/v1.28.2/lib/installer/npm_registry.ex#L1)

Module responsible for interacting with the NPM registry. It fetches and extracts NPM packages to certain locations.

# `install_package`

Downloads and unpacks an NPM package from the registry.

## Arguments

  * `package_name` - The name of the NPM package.
  * `version` - The version of the package to install.
  * `destination` - The destination directory where the package should be installed (e.g., "deps/my_package").
  * `callback` - A function that takes the path to the extracted package (in tmp) and allows modification before moving to destination.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
