diff options
author | 2022-07-09 14:29:04 -0400 | |
---|---|---|
committer | 2022-07-09 14:29:04 -0400 | |
commit | a884ca155ea489fae296d8389c410d015256555a (patch) | |
tree | 78c4145dc33a64cba6b0d8c95dd09ae3b7d907e5 | |
parent | d3f912a79e00345eba75afc9c331cf3aaf560166 (diff) | |
parent | 8b4c7434c3a86fb96df2af0b04eb3bdf8c4da289 (diff) | |
download | bun-a884ca155ea489fae296d8389c410d015256555a.tar.gz bun-a884ca155ea489fae296d8389c410d015256555a.tar.zst bun-a884ca155ea489fae296d8389c410d015256555a.zip |
Merge pull request #476 from jakemcf22/main
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,7 +5,7 @@ bun is a new: -- JavaScript runtime with Web APIs like [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/fetch), [`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket), and several more builtin. bun embeds JavaScriptCore, which tends to be faster and more memory efficient than more popular engines like V8 (though harder to embed) +- JavaScript runtime with Web APIs like [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/fetch), [`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket), and several more built-in. bun embeds JavaScriptCore, which tends to be faster and more memory efficient than more popular engines like V8 (though harder to embed) - JavaScript/TypeScript/JSX transpiler - JavaScript & CSS bundler - Task runner for package.json scripts @@ -454,7 +454,7 @@ If `public/index.html` exists, it becomes the default page instead of a 404 page ### Using bun with Create React App -To create new a React app: +To create a new React app: ```bash bun create react ./app @@ -519,7 +519,7 @@ And to the `types` field in your `tsconfig.json`: ## Not implemented yet -bun is a project with an incredibly large scope and still in it's early days. +bun is a project with an incredibly large scope and is still in it's early days. You can see [Bun's Roadmap](https://github.com/Jarred-Sumner/bun/issues/159), but here are some additional things that are planned: @@ -1186,7 +1186,7 @@ rm -rf ~/.bun/install/cache #### npm registry metadata bun uses a binary format for caching NPM registry responses. This loads much faster than JSON and tends to be smaller on disk. -You will see these files in `~/.bun/install/cache/*.npm`. The filename pattern is `${hash(packageName)}.npm`. It’s a hash so that extra directories don’t need to be created for scoped packages +You will see these files in `~/.bun/install/cache/*.npm`. The filename pattern is `${hash(packageName)}.npm`. It’s a hash so that extra directories don’t need to be created for scoped packages. bun’s usage of `Cache-Control` ignores `Age`. This improves performance but means bun may be about 5 minutes out of date to receive the latest package version metadata from npm. @@ -1364,7 +1364,7 @@ Warning: unlike with remote templates, **bun will delete the entire destination | GITHUB_API_DOMAIN | If you’re using a GitHub enterprise or a proxy, you can change what the endpoint requests to GitHub go | | GITHUB_API_TOKEN | This lets `bun create` work with private repositories or if you get rate-limited | -By default, `bun create` will cancel if there are existing files it would overwrite and its a remote template. You can pass `--force` to disable this behavior. +By default, `bun create` will cancel if there are existing files it would overwrite and it's a remote template. You can pass `--force` to disable this behavior. #### Publishing a new template |