{"id":16530991,"url":"https://github.com/brunnerlivio/try","last_synced_at":"2025-04-04T23:06:43.985Z","repository":{"id":33599389,"uuid":"159734657","full_name":"BrunnerLivio/try","owner":"BrunnerLivio","description":":package:  Quickly try out NPM packages inside a container","archived":false,"fork":false,"pushed_at":"2024-10-04T21:06:39.000Z","size":3397,"stargazers_count":133,"open_issues_count":25,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-12T18:07:39.774Z","etag":null,"topics":["docker","nodejs","npm","try"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrunnerLivio.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}},"created_at":"2018-11-29T22:18:46.000Z","updated_at":"2024-07-15T00:18:55.000Z","dependencies_parsed_at":"2023-11-19T01:28:28.513Z","dependency_job_id":"e6c7a9c5-dc7a-403d-893a-64d9444f2141","html_url":"https://github.com/BrunnerLivio/try","commit_stats":{"total_commits":414,"total_committers":8,"mean_commits":51.75,"dds":0.2125603864734299,"last_synced_commit":"a28dbf08d0aa07214e7fb66c9272d10cbee6bc00"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunnerLivio%2Ftry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunnerLivio%2Ftry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunnerLivio%2Ftry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunnerLivio%2Ftry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrunnerLivio","download_url":"https://codeload.github.com/BrunnerLivio/try/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261600,"owners_count":20910108,"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":["docker","nodejs","npm","try"],"created_at":"2024-10-11T18:07:39.673Z","updated_at":"2025-04-04T23:06:43.965Z","avatar_url":"https://github.com/BrunnerLivio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :package: try\n\n**Quickly try out npm packages inside a container.**\n\n[![NPM Package](https://badge.fury.io/js/try-pkg.svg)](https://www.npmjs.com/package/try-pkg)\n![Dependencies](https://img.shields.io/david/BrunnerLivio/try.svg)\n[![Build Status](https://circleci.com/gh/BrunnerLivio/try.svg?style=svg)](https://circleci.com/gh/BrunnerLivio/try/tree/master)\n\n\u003cimg src=\"demo.gif\" width=\"500\" alt=\"Demo animation\"/\u003e\n\n## Purpose\n\nAs a developer working with NodeJS you often stumble upon packages you quickly want to try out.\nInstalling these packages on your host system gets it polluted real quick.\n\n`try` tries to keep your host system clean while testing out npm packages.\nThis CLI tool quickly starts up a [Docker](https://www.docker.com/) container\nand installs your specified packages, so you can try them out!\n\n## Usage\n\nYou can print the usage by executing `try --help`.\n\n```shell\n\nUsage: try [options]\n\nQuickly try out npm packages inside a container\n\nOptions:\n  -V, --version              output the version number\n  -v, --verbose              Verbosity value\n  -i, --image [image]        The docker image which it should pull from (default: \"node\")\n  --image-version [version]  Specify the node image version (default: \"latest\")\n  --no-cleanup               If set to true, the created container will not get cleaned up\n  --silent                   If the program should not print any log statements\n  --ts                       If it the program should use TypeScript\n  -h, --help                 output usage information\n\n```\n\n## Installation\n\n### Prerequisites\n\n- [Node \u003e= 8](https://nodejs.org/en/download/package-manager/)\n- [Docker](https://docs.docker.com/install/)\n\n### npm package\n\nTo install `try` using `npm` run:\n\n```shell\n\nnpm install -g try-pkg\n\n```\n\n### From source\n\nTo install it from source you need to clone this repository,\ninstall the dependencies using `npm` and execute the program.\n\n```shell\n\ngit clone https://github.com/BrunnerLivio/try.git\ncd try\nnpm install\nnpm start\n\n```\n\n## Other\n\nInspired by [timofurrer/try](https://github.com/TimoFurrer/try) - Thanks buddy :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunnerlivio%2Ftry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunnerlivio%2Ftry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunnerlivio%2Ftry/lists"}