package
Enable customized npm package bundling and publishing using packtory’s versatile API.
npm install packtoryGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
screendriver
npm@echooff.de
Programmatic API for Packtory package builds.
npm install packtoryimport {
buildAndPublishAll,
inspectPackageDependencies,
inspectPackageFiles,
inspectPackageSymbols,
inspectPackageSideEffects,
packAllPackages,
packPackage,
resolveAndLinkAll
} from 'packtory';
await buildAndPublishAll(configuration, { dryRun: true, stage: false });
await resolveAndLinkAll(configuration);
await inspectPackageDependencies(configuration, 'package');
await inspectPackageFiles(configuration, 'package');
await inspectPackageSymbols(configuration, 'package');
await inspectPackageSideEffects(configuration, 'package');
await packPackage(configuration, {
packageName: 'package',
format: 'zip',
outputPath: './dist/package.zip',
version: '1.0.0',
vendorDependencies: true
});
await packAllPackages(configuration, {
outputPath: './dist/packages',
version: '1.0.0',
vendorDependencies: false
});Main exports: buildAndPublishAll, resolveAndLinkAll, diffAgainstLatestPublished, planReleaseAgainstLatestPublished, inspectPackageDependencies, inspectPackageFiles, inspectPackageSymbols, inspectPackageSideEffects, packPackage, and packAllPackages.
inspectPackageSymbols returns top-level binding decisions with original linked-source locations and retention chains. It uses configured dead-code elimination settings and sibling consumption without accessing the registry. Use diffAgainstLatestPublished for published-tarball comparisons.
See the repository readme for configuration and workflow documentation.
Estimated unpacked size across 65 packages.
40.8 MB+
Includes dependencies.
5.10.0
5.10.0
3.2.2
3.2.2
5.9.2
5.9.2
1.8.2
1.8.2
8.0.2
8.0.2
1.4.5
1.4.5
7.29.12
8.1.2
12.0.1
12.0.1
2.1.0
2.1.0
10.1.1
10.1.1
14.0.0
14.0.0
0.29.0
0.29.0
6.0.2
6.0.2
20.0.1
20.0.1
5.0.0
0.18.5
0.18.5
0.3.31
8.0.9
10.5.1
0.0.20