{"id":26271331,"url":"https://github.com/markthree/deno-npx","last_synced_at":"2026-01-02T07:10:14.114Z","repository":{"id":280775812,"uuid":"648040834","full_name":"markthree/deno-npx","owner":"markthree","description":"Use deno through npm | npx.","archived":false,"fork":false,"pushed_at":"2023-05-28T08:46:29.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T09:03:38.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/deno-npx","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markthree.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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}},"created_at":"2023-06-01T04:44:29.000Z","updated_at":"2023-06-01T04:44:29.000Z","dependencies_parsed_at":"2025-03-05T09:03:40.154Z","dependency_job_id":"4a4eb642-e97c-40f0-9957-25d88aeaefb2","html_url":"https://github.com/markthree/deno-npx","commit_stats":null,"previous_names":["markthree/deno-npx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-npx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-npx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-npx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-npx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markthree","download_url":"https://codeload.github.com/markthree/deno-npx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513332,"owners_count":20302930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-14T06:19:50.196Z","updated_at":"2026-01-02T07:10:14.074Z","avatar_url":"https://github.com/markthree.png","language":null,"readme":"\u003c!--\nThis Source Code Form is subject to the terms of the Mozilla Public\nLicense, v. 2.0. If a copy of the MPL was not distributed with this\nfile, You can obtain one at https://mozilla.org/MPL/2.0/.\n--\u003e\n\n# deno-npx [![npm](https://img.shields.io/npm/v/deno-npx)](https://www.npmjs.com/package/deno-npx)\n\nUse deno through npm | npx.\n\nSupports v1.1.0+ of deno, including patch versions. Versions with security warnings or that are\notherwise deprecated by the deno team will be reflected here. Note that some package versions may\nnot support your OS. `deno-npx-apple-arm64` for instance will give an unsupported error up until\nv1.6.0 as that is when support was added by the deno team. Currently, there are no deno binaries for\nwindows or linux arm64 builds.\n\nThis package has two components: The main package (`deno-npx`) using npm optional dependencies and\nthe sub packages for individual platform support (`deno-npx-apple-arm64`, etc). This offloads most\nof the work to npm and makes it possible to run commands, when installed locally, directly through\ndeno (not a node child process).\n\n## Usage\n\nRealistically you can run any deno cli command. See:\n\n- https://deno.com/manual/introduction\n- https://deno.com/manual/tools\n\n### Through npx directly:\n\n```bash\n$ npx deno-npx --version\n\n# Run in interactive (repl) mode\n$ npx deno-npx\n\n# If you know your platform/arch (apple, windows, linux)/(x64, arm64)\n$ npx deno-npx-windows-x64 --version\n\n# Specify a deno version\n$ npx deno-npx@1.1.0 --version\n```\n\n### Install locally on a project:\n\n```bash\n$ npm install --save-dev deno-npx\n```\n\n```jsonc\n// package.json\n{\n  \"scripts\": {\n    // Uses the main package, through a node child process.\n    \"use-deno-npx\": \"deno-npx --version\",\n    // Both of these link directly to the underlying platfrom package installed\n    // alongside deno-npx proper. They do -NOT- run deno through a node child\n    // process and are preferred when running locally.\n    \"use-deno-platform\": \"deno-npx-platform --version\",\n    \"use-deno\": \"deno --version\"\n  }\n}\n```\n\n## A note on versions\n\nThis package (github releases) is versioned separately than the npm packages it creates. See the\nbadge at the top of the readme for the current latest version of the package on npm.\n\n## Acknowledgement\n\nThis project was heavily inspired by [Yoshiya Hinosawa (kt3k)](https://github.com/kt3k)'s work on\n[deno-bin](https://github.com/kt3k/deno-bin).\n\n`deno-bin` is great but I wanted something that could use deno locally without going through a node\nchild process. I took the opportunity to do a couple other things I wanted to see as well: No\ndependencies, built with deno, high test coverage, etc.\n\n## License\n\ndeno-npx is provided under the [Mozilla Public License 2.0](https://mozilla.org/MPL/2.0/).\n\nA copy of the MPLv2 is included [license.md](/license.md) file for convenience.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkthree%2Fdeno-npx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkthree%2Fdeno-npx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkthree%2Fdeno-npx/lists"}