Foxy\Native
Ta treść nie jest jeszcze dostępna w Twoim języku.
API reference › Foxy › Native
Classes
Section titled “Classes”| Class | Summary |
|---|---|
DependencyResolver final readonly | Resolves npm requirements into one version per package (flat node_modules) against an npm registry. |
InstalledState 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 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 final readonly | Reads and writes foxy.lock: the requirements fingerprint and the packages installed by the native manager. |
NativeInstaller 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 final readonly | Represents an npm version range evaluated with npm semantics on top of Composer’s constraint engine. |
NpmRegistry final readonly | Provides the npm registry access of the native manager: abbreviated metadata, integrity-verified tarballs, and bulk security advisories. |
PackageMetadata final readonly | Represents the abbreviated npm registry metadata of a package: its dist-tags and its installable versions. |
PackageName final readonly | Validates the package names the native manager reads from manifests, lock files, and registry metadata. |
PackageVersion final readonly | Represents one published version of a registry package as read from the abbreviated npm metadata. |
Requirement 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 final readonly | Represents a package chosen for installation: a registry tarball or a local file: directory. |
TarballExtractor final readonly | Extracts an npm package tarball (gzip-compressed or plain tar) into a directory, stripping the first path component. |
Interfaces
Section titled “Interfaces”| Interface | Summary |
|---|---|
NativeInstallerInterface | Installs the frontend dependencies of a manifest into a flat directory without a Node.js package manager. |
NpmRegistryInterface | Provides access to an npm registry: package metadata, verified tarballs, and security advisories. |