{"id":15051194,"url":"https://github.com/arlac77/npm-pkgbuild","last_synced_at":"2026-02-04T21:09:37.577Z","repository":{"id":37692674,"uuid":"150797721","full_name":"arlac77/npm-pkgbuild","owner":"arlac77","description":"create arch, rpm and debian packages from npm","archived":false,"fork":false,"pushed_at":"2026-01-29T21:14:10.000Z","size":5632,"stargazers_count":10,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-30T01:43:09.539Z","etag":null,"topics":["arch-linux","debian-packages","rpm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arlac77.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-09-28T21:46:55.000Z","updated_at":"2026-01-29T21:14:14.000Z","dependencies_parsed_at":"2023-11-07T14:45:33.137Z","dependency_job_id":"3fa6c447-3c97-4c4d-a08a-bf841b068785","html_url":"https://github.com/arlac77/npm-pkgbuild","commit_stats":{"total_commits":1963,"total_committers":6,"mean_commits":327.1666666666667,"dds":0.1258278145695364,"last_synced_commit":"8c9215150b2304b19d75cd246edfe0c4481b09bb"},"previous_names":[],"tags_count":1002,"template":false,"template_full_name":null,"purl":"pkg:github/arlac77/npm-pkgbuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fnpm-pkgbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fnpm-pkgbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fnpm-pkgbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fnpm-pkgbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arlac77","download_url":"https://codeload.github.com/arlac77/npm-pkgbuild/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Fnpm-pkgbuild/sbom","scorecard":{"id":207382,"data":{"date":"2025-08-11","repo":{"name":"github.com/arlac77/npm-pkgbuild","commit":"27fe86a023111f6df9b3cc24212a0527f3aee30b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/pr_labeler.yml:6","Warn: no topLevel permission defined: .github/workflows/auto_approve.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:12","Warn: no topLevel permission defined: .github/workflows/codeql_analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/pr_labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/update_package_lock.yml:1","Warn: no topLevel permission defined: .github/workflows/update_readme_api.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto_approve.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/auto_approve.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql_analysis.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/codeql_analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_labeler.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/pr_labeler.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_package_lock.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/update_package_lock.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_package_lock.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/update_package_lock.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update_package_lock.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/update_package_lock.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_readme_api.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/update_readme_api.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_readme_api.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/update_readme_api.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update_readme_api.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/arlac77/npm-pkgbuild/update_readme_api.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/update_package_lock.yml:30","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   5 out of   6 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD Zero Clause License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:56"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 14 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T00:04:52.220Z","repository_id":37692674,"created_at":"2025-08-17T00:04:52.220Z","updated_at":"2025-08-17T00:04:52.220Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29096332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T21:05:08.033Z","status":"ssl_error","status_checked_at":"2026-02-04T21:04:53.031Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arch-linux","debian-packages","rpm"],"created_at":"2024-09-24T21:31:35.294Z","updated_at":"2026-02-04T21:09:37.555Z","avatar_url":"https://github.com/arlac77.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/npm-pkgbuild.svg)](https://www.npmjs.com/package/npm-pkgbuild)\n[![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html)\n[![Typed with TypeScript](https://flat.badgen.net/badge/icon/Typed?icon=typescript\\\u0026label\\\u0026labelColor=blue\\\u0026color=555555)](https://typescriptlang.org)\n[![bundlejs](https://deno.bundlejs.com/?q=npm-pkgbuild\\\u0026badge=detailed)](https://bundlejs.com/?q=npm-pkgbuild)\n[![downloads](http://img.shields.io/npm/dm/npm-pkgbuild.svg?style=flat-square)](https://npmjs.org/package/npm-pkgbuild)\n[![GitHub Issues](https://img.shields.io/github/issues/arlac77/npm-pkgbuild.svg?style=flat-square)](https://github.com/arlac77/npm-pkgbuild/issues)\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Farlac77%2Fnpm-pkgbuild%2Fbadge\\\u0026style=flat)](https://actions-badge.atrox.dev/arlac77/npm-pkgbuild/goto)\n[![Styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Known Vulnerabilities](https://snyk.io/test/github/arlac77/npm-pkgbuild/badge.svg)](https://snyk.io/test/github/arlac77/npm-pkgbuild)\n\n## npm-pkgbuild\n\nCreate ArchLinux, RPM, Debian and Docker packages from npm packages.\n\n# usage\n\nIn a package directory execute\n\n```shell\nnpm-pkgbuild --rpm --debian --arch --content /destination:build --publish /some/directory\n```\n\nThis will create a arch, rpm and a debian package of the build dir.\n\n## upload package\n\n```shell\nnpm-pkgbuild --arch --content build --publish 'https://my.package-service.com/binaries/linux/{{type}}/{{access}}/{{arch}}'\n```\n\nYou can specify the package content in package.json.\n\n```json\n{\n  \"pkgbuild\": {\n    \"content\": {\n      \"/some/location/\" : { \"base\": \"build\" },\n      \"/etc/myconfig.json\" : \"sample-config.json\",\n      \"/erc/secret\" : { \"name\":  \"secret\", \"mode\": \"600\" },\n      \"/opt/myapp\": [\n        {\n          \"type\": \"npm-pack\"\n        },\n        {\n          \"type\": \"node-modules\",\n          \"withoutDevelpmentDependencies\": true\n        }\n      ]\n    },\n    \"hooks\" : \"pkg/hooks\",\n    \"output\": {\n      \"debian\" : {},\n      \"rpm\" : {},\n      \"arch\" : {}\n    },\n  \"dependencies\": { \"nginx\" : \"\u003e=1.12\" }\n  }\n}\n```\n\n# content providers\n\nDefining where the package content should come from.\n\n## files (default)\n\ncontent from the file system\n\n## npm-pack\n\ncontent as provided by npm pack\n\n## node-modules\n\ncontent of all (production) dependencies\n\noptions:\n\\- withoutDevelpmentDependencies when to stip away dev dependencies (defaults to true)\n\n# shared configuration\n\nYou can import common configuration from other packages.\nSee [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-frontend](https://www.npmjs.com/package/mf-hosting-frontend) modules.\n\n# API\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### Table of Contents\n\n*   [allInputs](#allinputs)\n*   [allOutputs](#alloutputs)\n*   [npmArchMapping](#npmarchmapping)\n*   [content2Sources](#content2sources)\n    *   [Parameters](#parameters)\n*   [PackageDefinition](#packagedefinition)\n    *   [Properties](#properties)\n*   [extractFromPackage](#extractfrompackage)\n    *   [Parameters](#parameters-1)\n*   [NPMPackContentProvider](#npmpackcontentprovider)\n    *   [Parameters](#parameters-2)\n    *   [Properties](#properties-1)\n    *   [name](#name)\n*   [NodeModulesContentProvider](#nodemodulescontentprovider)\n    *   [Parameters](#parameters-3)\n    *   [Properties](#properties-2)\n    *   [asyncIterator](#asynciterator)\n    *   [name](#name-1)\n*   [FileContentProvider](#filecontentprovider)\n    *   [Parameters](#parameters-4)\n    *   [asyncIterator](#asynciterator-1)\n    *   [name](#name-2)\n*   [NFTContentProvider](#nftcontentprovider)\n    *   [Parameters](#parameters-5)\n    *   [asyncIterator](#asynciterator-2)\n    *   [name](#name-3)\n*   [ContentProvider](#contentprovider)\n    *   [Parameters](#parameters-6)\n    *   [Properties](#properties-3)\n    *   [asyncIterator](#asynciterator-3)\n*   [DEBIAN](#debian)\n    *   [hookMapping](#hookmapping)\n    *   [attributes](#attributes)\n    *   [prepare](#prepare)\n        *   [Parameters](#parameters-7)\n*   [pkgKeyValuePairOptions](#pkgkeyvaluepairoptions)\n*   [attributes](#attributes-1)\n*   [quoteFile](#quotefile)\n    *   [Parameters](#parameters-8)\n*   [RPM](#rpm)\n    *   [hookMapping](#hookmapping-1)\n    *   [attributes](#attributes-2)\n    *   [prepare](#prepare-1)\n        *   [Parameters](#parameters-9)\n*   [OCI](#oci)\n*   [DOCKER](#docker)\n    *   [attributes](#attributes-3)\n    *   [prepare](#prepare-2)\n        *   [Parameters](#parameters-10)\n*   [BUILDAH](#buildah)\n*   [Packager](#packager)\n    *   [Parameters](#parameters-11)\n    *   [packageName](#packagename)\n        *   [Parameters](#parameters-12)\n    *   [dependencyExpression](#dependencyexpression)\n        *   [Parameters](#parameters-13)\n    *   [tmpdir](#tmpdir)\n    *   [prepare](#prepare-3)\n        *   [Parameters](#parameters-14)\n    *   [create](#create)\n        *   [Parameters](#parameters-15)\n    *   [workspaceLayout](#workspacelayout)\n    *   [prepare](#prepare-4)\n        *   [Parameters](#parameters-16)\n*   [Packager](#packager-1)\n    *   [Parameters](#parameters-17)\n    *   [packageName](#packagename-1)\n        *   [Parameters](#parameters-18)\n    *   [dependencyExpression](#dependencyexpression-1)\n        *   [Parameters](#parameters-19)\n    *   [tmpdir](#tmpdir-1)\n    *   [prepare](#prepare-5)\n        *   [Parameters](#parameters-20)\n    *   [create](#create-1)\n        *   [Parameters](#parameters-21)\n    *   [workspaceLayout](#workspacelayout-1)\n    *   [prepare](#prepare-6)\n        *   [Parameters](#parameters-22)\n*   [Field](#field)\n    *   [Properties](#properties-4)\n*   [deleteKey](#deletekey)\n    *   [Parameters](#parameters-23)\n*   [copyNodeModules](#copynodemodules)\n    *   [Parameters](#parameters-24)\n*   [PublishingDetail](#publishingdetail)\n    *   [Properties](#properties-5)\n*   [createPublishingDetails](#createpublishingdetails)\n    *   [Parameters](#parameters-25)\n*   [publish](#publish)\n    *   [Parameters](#parameters-26)\n*   [utf8StreamOptions](#utf8streamoptions)\n*   [decodePassword](#decodepassword)\n    *   [Parameters](#parameters-27)\n*   [FunctionDecl](#functiondecl)\n    *   [Properties](#properties-6)\n*   [extractFunctions](#extractfunctions)\n    *   [Parameters](#parameters-28)\n*   [fieldProvider](#fieldprovider)\n    *   [Parameters](#parameters-29)\n*   [Expander](#expander)\n    *   [Parameters](#parameters-30)\n*   [copyEntries](#copyentries)\n    *   [Parameters](#parameters-31)\n\n## allInputs\n\nAll content providers (input)\n\n## allOutputs\n\nAll output formats\n\n## npmArchMapping\n\nNode architecture name to os native arch name mapping\n{@see \u003chttps://nodejs.org/dist/latest-v18.x/docs/api/process.html#processargv}\u003e\n\n## content2Sources\n\nDelivers ContentProviders from pkgbuild.content definition.\n\n### Parameters\n\n*   `content` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** from pkgbuild.content\n*   `dir` \u0026#x20;\n\nReturns **Iterable\u003c[ContentProvider](#contentprovider)\u003e**\u0026#x20;\n\n## PackageDefinition\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n### Properties\n\n*   `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** values describing the package attributes\n\n    *   `properties.dependencies` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n    *   `properties.replaces` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n    *   `properties.conficts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `sources` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[ContentProvider](#contentprovider)\u003e** content providers\n*   `output` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** package type\n*   `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** identifier of the variant\n\n    *   `variant.name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the variant\n    *   `variant.arch` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the architecture\n\n## extractFromPackage\n\nExtract package definition from package.json.\n\n*   for each architecture deliver a new result\n*   if no architecture is given one result set is provided nethertheless\n*   architectures are taken from cpu (node arch ids) and from pkgbuild.arch (raw arch ids)\n*   architecture given in a variant definition are used to restrict the set of avaliable architectures\n\n### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**  (optional, default `{}`)\n\n    *   `options.dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** where to look for package.json\n    *   `options.verbose` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** log\n*   `env` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** as delared in process.env (optional, default `{}`)\n\nReturns **AsyncIterable\u003c[PackageDefinition](#packagedefinition)\u003e**\u0026#x20;\n\n## NPMPackContentProvider\n\n**Extends ContentProvider**\n\nContent from npm pack.\n\n### Parameters\n\n*   `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to be set for each entry\n*   `directoryProperties` \u0026#x20;\n\n### Properties\n\n*   `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### name\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider\n\n## NodeModulesContentProvider\n\n**Extends ContentProvider**\n\nContent from node\\_modules.\nRequires .npmrc or NPM\\_TOKEN environment\n\n### Parameters\n\n*   `definitions` \u0026#x20;\n*   `entryProperties` \u0026#x20;\n*   `directoryProperties` \u0026#x20;\n\n### Properties\n\n*   `withoutDevelpmentDependencies` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**\u0026#x20;\n\n### asyncIterator\n\nList all entries.\n\nReturns **AsyncIterable\u003c(ContentEntry | CollectionEntry)\u003e** all entries\n\n### name\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider\n\n## FileContentProvider\n\n**Extends ContentProvider**\n\nContent provided form the file system.\n\n### Parameters\n\n*   `definitions` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))**\u0026#x20;\n*   `entryProperties` \u0026#x20;\n*   `directoryProperties` \u0026#x20;\n\n### asyncIterator\n\nReturns **AsyncIterable\u003c(ContentEntry | CollectionEntry)\u003e** all entries\n\n### name\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider\n\n## NFTContentProvider\n\n**Extends ContentProvider**\n\nContent provided form the file system.\n\n### Parameters\n\n*   `definitions` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))**\u0026#x20;\n*   `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n*   `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\n### asyncIterator\n\nReturns **AsyncIterable\\\u003cContentEntry\u003e** all entries\n\n### name\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the content provider\n\n## ContentProvider\n\nSource of package content.\n\n### Parameters\n\n*   `definitions` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `entryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n*   `directoryProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\n### Properties\n\n*   `dir` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### asyncIterator\n\nList all entries.\n\nReturns **AsyncIterable\u003c(ContentEntry | CollectionEntry)\u003e** all entries\n\n## DEBIAN\n\n**Extends Packager**\n\nCreate .deb packages\n\n### hookMapping\n\nMap install hook named from default (arch) to deb.\n\n### attributes\n\n*   **See**: \u003chttps://www.debian.org/doc/debian-policy/ch-controlfields.html\u003e\n*   **See**: \u003chttps://linux.die.net/man/5/deb-control\u003e\n\n### prepare\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\n    *   `variant.arch` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)\u003e**\u0026#x20;\n\n## pkgKeyValuePairOptions\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n## attributes\n\nwell known package properties\n\u003chttps://www.archlinux.org/pacman/PKGBUILD.5.html\u003e\n\n## quoteFile\n\n### Parameters\n\n*   `name` \u0026#x20;\n\n## RPM\n\n**Extends Packager**\n\nProduce rpm packages.\n\n### hookMapping\n\nMap install hook named from default (arch) to rpm.\n\n### attributes\n\n*   **See**: \u003chttps://rpm-packaging-guide.github.io\u003e\n\n### prepare\n\nCheck for rpmbuild presence.\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\n    *   `variant.arch` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)\u003e** true when rpmbuild executable is present\n\n## OCI\n\n**Extends Packager**\n\nLow level OCI compatible packager\n\n## DOCKER\n\n**Extends Packager**\n\ndocker image build\n\n### attributes\n\n*   **See**: \u003chttps://docs.docker.com/engine/reference/builder/\u003e\n\n### prepare\n\nCheck for docker presence.\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\n    *   `variant.arch` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)\u003e** true when docker executable is present\n\n## BUILDAH\n\n**Extends DOCKER**\n\nUse buildah @see \u003chttps://buildah.io\u003e\n\n## Packager\n\n### Parameters\n\n*   `properties` \u0026#x20;\n\n### packageName\n\nWhat is the package name in the package eco-system.\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** package name in the target eco-system\n\n### dependencyExpression\n\nforms an expression string form name and expression.\nIf tere is no valid exression name only is delivered.\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `expression` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**\u0026#x20;\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### tmpdir\n\nCreate tmp directory.\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** directory path\n\n### prepare\n\nPrepares artifact generation.\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\n    *   `options.staging` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n    *   `options.destination` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n*   `publishingDetail` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c{properties: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), destination: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), tmpdir: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), staging: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}\u003e**\u0026#x20;\n\n### create\n\nExecute package generation.\n\n#### Parameters\n\n*   `sources` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `transformer` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e**\u0026#x20;\n*   `publishingDetails` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[PublishingDetail](#publishingdetail)\u003e**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `expander` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** identifier of the resulting package\n\n### workspaceLayout\n\nReturns **{named: [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), others: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e}**\u0026#x20;\n\n### prepare\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)\u003e**\u0026#x20;\n\n## Packager\n\nBase Packager\n\n### Parameters\n\n*   `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\n### packageName\n\nWhat is the package name in the package eco-system.\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** package name in the target eco-system\n\n### dependencyExpression\n\nforms an expression string form name and expression.\nIf tere is no valid exression name only is delivered.\n\n#### Parameters\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `expression` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**\u0026#x20;\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n### tmpdir\n\nCreate tmp directory.\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** directory path\n\n### prepare\n\nPrepares artifact generation.\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\n    *   `options.staging` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n    *   `options.destination` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n*   `publishingDetail` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c{properties: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), destination: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), tmpdir: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), staging: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}\u003e**\u0026#x20;\n\n### create\n\nExecute package generation.\n\n#### Parameters\n\n*   `sources` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `transformer` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e**\u0026#x20;\n*   `publishingDetails` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[PublishingDetail](#publishingdetail)\u003e**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `expander` **function ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)): [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e** identifier of the resulting package\n\n### workspaceLayout\n\nReturns **{named: [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object), others: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e}**\u0026#x20;\n\n### prepare\n\n#### Parameters\n\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `variant` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\u003c[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)\u003e**\u0026#x20;\n\n## Field\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n### Properties\n\n*   `alias` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** interchangeable field name\n*   `type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `default` **any**\u0026#x20;\n*   `mandatory` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**\u0026#x20;\n\n## deleteKey\n\n### Parameters\n\n*   `object` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `key` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n## copyNodeModules\n\n### Parameters\n\n*   `source` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `dest` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**  (optional, default `defaultOptions`)\n\n## PublishingDetail\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n### Properties\n\n*   `url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `scheme` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `username` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n*   `password` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n\n## createPublishingDetails\n\n### Parameters\n\n*   `locations` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e**  (optional, default `[]`)\n*   `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n\n    *   `properties.PKGBUILD_PUBLISH` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n    *   `properties.arch` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n    *   `properties.access` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n    *   `properties.type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n    *   `properties.username` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\u0026#x20;\n\nReturns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\u003c[PublishingDetail](#publishingdetail)\u003e**\u0026#x20;\n\n## publish\n\n### Parameters\n\n*   `artifactIdentifier` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `publishingDetail` **[PublishingDetail](#publishingdetail)?**\u0026#x20;\n*   `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**\u0026#x20;\n*   `logger` **function (any): void**  (optional, default `console.log`)\n\n## utf8StreamOptions\n\nType: BufferEncoding\n\n## decodePassword\n\nDecode a password\n\n### Parameters\n\n*   `password` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** plaintext password\n\n## FunctionDecl\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n### Properties\n\n*   `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `body` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n## extractFunctions\n\nExtract shell functions from a given text.\n\n### Parameters\n\n*   `source` **AsyncIterable\u003c[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\u003e**\u0026#x20;\n\nReturns **AsyncIterable\u003c[FunctionDecl](#functiondecl)\u003e**\u0026#x20;\n\n## fieldProvider\n\n### Parameters\n\n*   `properties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n*   `attributes` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**\u0026#x20;\n\nReturns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)**\u0026#x20;\n\n## Expander\n\nType: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)\n\n### Parameters\n\n*   `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n\n## copyEntries\n\nCopy content from source into destinationDirectory.\nDestination paths a generated without leading '/' (as for entry names too).\n\n### Parameters\n\n*   `source` **AsyncIterable\\\u003cContentEntry\u003e**\u0026#x20;\n*   `destinationDirectory` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\u0026#x20;\n*   `expander` **[Expander](#expander)**  (optional, default `v=\u003ev`)\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```shell\nnpm install npm-pkgbuild\n```\n\n# license\n\nBSD-2-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Fnpm-pkgbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farlac77%2Fnpm-pkgbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Fnpm-pkgbuild/lists"}