# Foxy\Native

> 13 classes, 2 interfaces of the Foxy\Native namespace.

[API reference](/docs/api/index.md) › [Foxy](/docs/extensions/foxy/reference/index.md) › Native

## Classes

| Class | Summary |
| --- | --- |
| [`DependencyResolver`](/docs/extensions/foxy/reference/native/dependencyresolver/index.md) final readonly | Resolves npm requirements into one version per package (flat `node_modules`) against an npm registry. |
| [`InstalledState`](/docs/extensions/foxy/reference/native/installedstate/index.md) final readonly | Reads and writes the hidden state file of an install directory: the lock entry of every package the last successful native installation left in place, the counterpart of npm's `node_modules/.package-lock.json`. |
| [`LocalPackage`](/docs/extensions/foxy/reference/native/localpackage/index.md) final readonly | Represents a local `file:` package of the root manifest as the resolver selects it: a fixed version and the requirements its own manifest declares. |
| [`LockFile`](/docs/extensions/foxy/reference/native/lockfile/index.md) final readonly | Reads and writes `foxy.lock`: the requirements fingerprint and the packages installed by the native manager. |
| [`NativeInstaller`](/docs/extensions/foxy/reference/native/nativeinstaller/index.md) final readonly | Installs the frontend dependencies of a `package.json` into a flat directory (`node_modules` by default) without a Node.js package manager. |
| [`NpmRange`](/docs/extensions/foxy/reference/native/npmrange/index.md) final readonly | Represents an npm version range evaluated with npm semantics on top of Composer's constraint engine. |
| [`NpmRegistry`](/docs/extensions/foxy/reference/native/npmregistry/index.md) final readonly | Provides the npm registry access of the native manager: abbreviated metadata, integrity-verified tarballs, and bulk security advisories. |
| [`PackageMetadata`](/docs/extensions/foxy/reference/native/packagemetadata/index.md) final readonly | Represents the abbreviated npm registry metadata of a package: its dist-tags and its installable versions. |
| [`PackageName`](/docs/extensions/foxy/reference/native/packagename/index.md) final readonly | Validates the package names the native manager reads from manifests, lock files, and registry metadata. |
| [`PackageVersion`](/docs/extensions/foxy/reference/native/packageversion/index.md) final readonly | Represents one published version of a registry package as read from the abbreviated npm metadata. |
| [`Requirement`](/docs/extensions/foxy/reference/native/requirement/index.md) final readonly | Represents one dependency requirement fed to the native resolver: a package name, its npm specification, and the manifest or package that declared it. |
| [`ResolvedPackage`](/docs/extensions/foxy/reference/native/resolvedpackage/index.md) final readonly | Represents a package chosen for installation: a registry tarball or a local `file:` directory. |
| [`TarballExtractor`](/docs/extensions/foxy/reference/native/tarballextractor/index.md) final readonly | Extracts an npm package tarball (gzip-compressed or plain tar) into a directory, stripping the first path component. |

## Interfaces

| Interface | Summary |
| --- | --- |
| [`NativeInstallerInterface`](/docs/extensions/foxy/reference/native/nativeinstallerinterface/index.md) | Installs the frontend dependencies of a manifest into a flat directory without a Node.js package manager. |
| [`NpmRegistryInterface`](/docs/extensions/foxy/reference/native/npmregistryinterface/index.md) | Provides access to an npm registry: package metadata, verified tarballs, and security advisories. |