{"id":15011389,"url":"https://github.com/jhmaster2000/bun-repl","last_synced_at":"2025-05-07T15:23:33.993Z","repository":{"id":54351255,"uuid":"522189349","full_name":"jhmaster2000/bun-repl","owner":"jhmaster2000","description":"Experimental REPL for Bun","archived":false,"fork":false,"pushed_at":"2023-09-28T20:18:57.000Z","size":611,"stargazers_count":79,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"rewrite","last_synced_at":"2025-04-30T04:37:08.507Z","etag":null,"topics":["bun","cli","js","repl","ts"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/bun-repl","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhmaster2000.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":"2022-08-07T11:06:16.000Z","updated_at":"2025-04-23T19:41:58.000Z","dependencies_parsed_at":"2023-02-16T15:30:59.580Z","dependency_job_id":"52eb0431-7ff2-4a38-b844-811bb040f15f","html_url":"https://github.com/jhmaster2000/bun-repl","commit_stats":{"total_commits":83,"total_committers":2,"mean_commits":41.5,"dds":"0.012048192771084376","last_synced_commit":"47fcb4135b49662647d7848e58e15d73eb28fa6d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhmaster2000%2Fbun-repl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhmaster2000%2Fbun-repl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhmaster2000%2Fbun-repl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhmaster2000%2Fbun-repl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhmaster2000","download_url":"https://codeload.github.com/jhmaster2000/bun-repl/tar.gz/refs/heads/rewrite","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252903318,"owners_count":21822424,"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":["bun","cli","js","repl","ts"],"created_at":"2024-09-24T19:41:01.625Z","updated_at":"2025-05-07T15:23:33.972Z","avatar_url":"https://github.com/jhmaster2000.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bun REPL [![GitHub version][github-image]][github-url] [![GitHub code size in bytes][size-image]][github-url] [![license][license-image]][license-url]\n\nExperimental REPL for [Bun](https://github.com/oven-sh/bun)\n\n\u003e **NOTICE:** This package is planned to be embedded directly into Bun sometime soon,\n\u003e this must be taken into consideration if making contributions to the package.\n\n## Install\nYou can use it directly via Bun with:\n```sh\nbun repl\n```\nNo installation required!\n\n### Versioning\n[npm](https://www.npmjs.com/package/bun-repl) and [GitHub](https://github.com/jhmaster2000/bun-repl/releases) releases will always be guaranteed to not rely on current Bun canary versions, but support for any version other than the latest non-canary will not be guaranteed.\n\nThe source code repository latest commit may contain code not yet in any release which depends on currently Bun canary-only features and has no guarantees.\n\n## Features\n\n* Seamless JavaScript \u0026 TypeScript execution\n* Single run CLI flags `--eval` and `--print`\n* Multi-line input (`.multiline`)\n* Top level import syntax supported (`import fs from 'fs'`)\n* Top level await (experimental)\n* Lazy-loaded builtin modules as preloaded global variables. (including Bun modules! Try `ffi` or `sqlite`)\n* Import either CommonJS or ESM local files and packages into the REPL\n* Node.js REPL special underscore variables provided (`_` and `_error`)\n* Resistent to global object modification (output quality may decrease but never crash)\n* Persistent execution history (`↑` `↓`)\n* REPL Commands (`.command`)\n\n## Usage\n```sh\nbun repl [options]\n```\nPass the `-h` or `--help` CLI option for a list of all options.\n\nType `.help` within the REPL for a list of commands.\n\nPress `↑` and `↓` to travel up or down the execution history.\n\n`bun repl` exposes the special variable `repl` which provides access to a REPL interface like the Node.js REPL (also accessible through import/require of `repl` or `node:repl`).\n\nYou can use `repl.writer.options` like you would in Node.js REPL to customize the live output of the running REPL.\n\n[github-url]:https://github.com/jhmaster2000/bun-repl\n[github-image]:https://img.shields.io/github/package-json/v/jhmaster2000/bun-repl.svg?color=gray\n[license-url]:https://github.com/jhmaster2000/bun-repl/blob/master/LICENSE.md\n[license-image]:https://img.shields.io/npm/l/bun-repl.svg\n[size-image]:https://img.shields.io/github/languages/code-size/jhmaster2000/bun-repl.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhmaster2000%2Fbun-repl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhmaster2000%2Fbun-repl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhmaster2000%2Fbun-repl/lists"}