{"id":15685531,"url":"https://github.com/arnaudrinquin/browser-tap","last_synced_at":"2025-06-14T03:05:22.820Z","repository":{"id":143053908,"uuid":"56016713","full_name":"ArnaudRinquin/browser-tap","owner":"ArnaudRinquin","description":null,"archived":false,"fork":false,"pushed_at":"2016-04-28T12:02:31.000Z","size":528,"stargazers_count":9,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T03:04:08.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArnaudRinquin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-04-12T00:03:01.000Z","updated_at":"2018-09-23T06:29:32.000Z","dependencies_parsed_at":"2023-04-28T17:48:36.099Z","dependency_job_id":null,"html_url":"https://github.com/ArnaudRinquin/browser-tap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ArnaudRinquin/browser-tap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudRinquin%2Fbrowser-tap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudRinquin%2Fbrowser-tap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudRinquin%2Fbrowser-tap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudRinquin%2Fbrowser-tap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArnaudRinquin","download_url":"https://codeload.github.com/ArnaudRinquin/browser-tap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudRinquin%2Fbrowser-tap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259752049,"owners_count":22905970,"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":"2024-10-03T17:26:13.325Z","updated_at":"2025-06-14T03:05:22.795Z","avatar_url":"https://github.com/ArnaudRinquin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# browser-tap\n\nA wrapper around `tape` that lets you run tests in the browser and see the results in a Chrome Devtools Tab if the extension is installed ([install from Chrome Web Store](https://chrome.google.com/webstore/detail/browser-tap/ncfblaiipckncgeipgmpdioedcdmofei)).\n\nBest used with [`babel-plugin-discard-module-references`](https://github.com/ArnaudRinquin/babel-plugin-discard-module-references)\n\nLinks:\n\n* [talk](http://bit.ly/browser-tap-talk) at #londonreact April 2016 Meetup\n* [slides](http://bit.ly/browser-tap)\n* [medium post](http://bit.ly/browser-tap-post)\n* [example](http://bit.ly/browser-tap-example)\n* [Chrome Extension](http://bit.ly/browser-tap-extension)\n\n## Concepts\n\n`browser-tap` is just a 3 lines wrapper around [`tape`](https://www.npmjs.com/package/tape) providing the exact same [API](https://www.npmjs.com/package/tape#methods) (might change, see the note below).\n\nBy default, `browser-tap` will output the results in the console, exactly like `tape` would do.\n\nIf you have the Chrome extension installed, you will be able to control and see a nice output of the test results.\n\n![screenshot](./screenshots/prototype.png)\n\n_Note: For the moment, `tape` relies on nodejs API and is only browser-compliant because it's compiled using `browserify` which provides the necessary polyfills._\n\n_Later, `browser-tap` will probably become a standalone **natively browser compliant** library exposing the exact same API instead of being a wrapper around `tape`._\n\n## Usage\n\n```\nnpm i -S browser-tap\n```\n\nTo use it, simply import `browser-tap` instead of `tape` (or use something like [`webpack resolve.alias`](https://webpack.github.io/docs/configuration.html#resolve-alias) to have that done automatically).\n\n## Example\n\nIn the [example folder](./example), you'll find a project covering all the major aspects of unit testing a React application. You'll see how simple the configuration is.\n\n## Extension\n\n`browser-tap` value relies greatly in the provided extension. It's not published yet but it's easy to build and install manually. See [its README](./extension/README.md) for guidance.\n\n[Install from Chrome Web Store](https://chrome.google.com/webstore/detail/browser-tap/ncfblaiipckncgeipgmpdioedcdmofei)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaudrinquin%2Fbrowser-tap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnaudrinquin%2Fbrowser-tap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaudrinquin%2Fbrowser-tap/lists"}