aboutsummaryrefslogtreecommitdiff
path: root/docs/api (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-17docs: fix ws.publish (#6558)Gravatar Aral Roca Gomez 1-1/+1
In this example there is no server variable in the context, and here it makes more sense to use ws.publish. It is explained below that once the serve is done, the server.publish can be used.
2023-10-10Add File to binary data TOC (#6025)Gravatar Aaron Dewes 1-3/+3
2023-10-10Documentation for the IPC of Bun.spawn (#6400)Gravatar Nicolae-Rares Ailincai 1-0/+54
* doc/ipc.md * update/spawn.md * improved-documentation-and-added-send-type * Updates * Updates --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-10-02Update ws exampleGravatar Colin McDonnell 1-1/+1
2023-10-02Added the fileExtensions field to file-system-router.md (#6231)Gravatar Corné Dorrestijn 1-0/+1
2023-09-28Improve docsGravatar Colin McDonnell 1-0/+14
2023-09-25Update docsGravatar Colin McDonnell 1-2/+13
2023-09-19Doc updates (#5759)Gravatar Colin McDonnell 1-3/+12
* WIP * WIP
2023-09-14Fix linksGravatar Colin McDonnell 1-1/+1
2023-09-13Use Bun globalGravatar Colin McDonnell 1-3/+1
2023-09-13More docs & helptext cleanup (#5229)Gravatar Colin McDonnell 1-1/+1
* wip * Flesh out resolution docs * Polish * More * WIP * WIP * WIP * Document --watch
2023-09-13Fixed api & cli docs typo. (#5262)Gravatar James Gordo 2-3/+3
* Fixed api & cli docs typo. * Fix --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-09-12docs: fix typo in import.meta.resolve (#5146)Gravatar Jonathan Neal 1-1/+1
2023-09-12docs: fix typos (#5151)Gravatar Samuel Rigaud 5-6/+6
2023-09-11Fix punctuation (#4870)Gravatar Matthew Yu 1-1/+1
2023-09-10Replace unnecessary '`' wih `"` in code snippets (#4792)Gravatar Diogo Goncalves 1-6/+6
2023-09-10docs: Update Bun.write(path, Response) example to be clear that it writes ↵Gravatar Tom Sherman 1-1/+1
the body (#4802)
2023-09-09docs: fix spelling (#4763)Gravatar Rinku Chaudhari 1-1/+1
2023-09-08fix(docs): connect websocket client repeated documentation (#4615)Gravatar Ana Margarida Silva 1-13/+5
2023-09-08Fix code typo in transpiler.md (#4604)Gravatar Frederik De Bleser 1-1/+0
There are some extra closing brackets at the end of the `scanImports` example. These cause a syntax error ("Unterminated string literal")
2023-09-08Fix `Bun.CryptoHasher` missing argument in docs (#4585)Gravatar Samual Norman 1-2/+2
2023-09-07Doc updates for v1.0 (#4485)Gravatar Colin McDonnell 8-36/+47
* Remove v0.x messages * Add windows section to Installatino * update * update * Update * Comment out windows
2023-09-01Fix typo (#4445)Gravatar Jorge Jiménez 1-1/+1
Replace `key: [Bun.file('./key1.pem'), Bun.file('./key2.pem']` with `key: [Bun.file('./key1.pem'), Bun.file('./key2.pem')]`
2023-08-28docs: hot reloading with Bun.serveGravatar Colin McDonnell 1-6/+6
2023-08-24Update http.mdbun-v0.8.1Gravatar Jarred Sumner 1-2/+13
2023-08-21Docs and types for v0.8.0 (#4199)Gravatar Colin McDonnell 1-0/+15
* Improve test documentation * Update nodejs compat docs with tty * Add debugger guide * Document Bun.inspect.custom, improve bun test nav * Address reviews * Update Bun.file types * Add Nuxt guide * Add tty types
2023-08-14Small docs changeGravatar Colin McDonnell 1-2/+2
2023-08-12Fix worker event loop ref/unref + leak (#4114)Gravatar dave caruso 1-19/+23
* make more tests pass * worker changes * fix some bugs * remove this * progress * uh * okay * remove console log * a * comment assert for later * mergable state * remove test * remove test
2023-08-07Fix `Bun.hash` functions (#4054)Gravatar jhmaster 1-4/+5
* fix `Bun.hash` functions to behave as expected * update Bun.hash tests * properly test the returned hash * include murmur32v2 * update Bun.hash docs * run fmt
2023-08-04Update import-meta.mdGravatar Jarred Sumner 1-2/+1
2023-08-04Fix incorrect docsGravatar Jarred Sumner 1-2/+3
2023-08-03More guides and fixing links (#3960)bun-v0.7.2Gravatar Colin McDonnell 2-5/+5
* More guides * WIP * Updates * Fix
2023-08-02Update streams.md (#3926)Gravatar Vaughan Rouesnel 1-1/+1
2023-07-31Fix incorrect functionGravatar Jarred Sumner 1-1/+1
2023-07-29typo spawn.md (#3875)Gravatar Jhorman Tito 1-1/+1
2023-07-20Update sqlite.mdGravatar Jarred Sumner 1-5/+5
2023-07-19Docs & types for 0.7 (#3665)Gravatar Colin McDonnell 2-3/+3
* Docs & types for 0.7 * Tweak * Update * Tweaks * Tweak * Tweaks --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-07-19Support streams in response.formData() & request.formData, introduce ↵Gravatar Jarred Sumner 1-0/+6
Bun.readableStreamToFormData() (#3697) * codegen * FormData.from * Fixes #3225 * Introduce `Bun.readableStreamToFormData` * Update bun.d.ts * Add examples * add --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-19Inline`bun` object from workersGravatar Jarred Sumner 1-6/+2
2023-07-18Update workers.mdGravatar Jarred Sumner 1-2/+2
2023-07-18ClarifyGravatar Jarred Sumner 1-0/+2
2023-07-17Clean up worker docsGravatar Colin McDonnell 1-65/+69
2023-07-16Document serialize/deserializeGravatar Jarred Sumner 1-0/+14
2023-07-16Update workers.mdGravatar Jarred Sumner 1-1/+1
2023-07-16renameGravatar Jarred Sumner 1-0/+0
2023-07-16Implement Workers (#3645)Gravatar Jarred Sumner 1-0/+162
* copy files * format * options * Introduce `Worker`, `onmessage`, `onerror`, and `postMessage` globals * Stub `Worker.prototype.ref` & `Worker.prototype.unref` * Update web_worker.zig * Worker works * Add "mini" mode * add wakeup * Partially fix the keep-alive issue * clean up refer behavior * Implement `serialize` & `deserialize` in `bun:jsc` & add polyfill for `node:v8` * Types & docs * Update globals.d.ts * Add mutex * Fixes --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com> Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-14Update docsGravatar Colin McDonnell 1-6/+8
2023-07-11Add npmrc noteGravatar Colin McDonnell 1-2/+10
2023-07-06Various docs updates (#3437)Gravatar Colin McDonnell 2-41/+72
* Various docs updates * Add mocks page * Fix make * WebKit instructions * Update instructions * Updates * Update nodejs compat table * Document trusted deps * Tweak trustedDependencies docs * Document --exact * Update test docs * Tweaks * Boring * Remove redundant j * Undo makefile changes * Undo makefile changes * Update page title * Regen * Undo changes
2023-06-20Docs for DOM testing and FileSink (#3330)Gravatar Colin McDonnell 2-48/+122
* Update websocket docs & jsdoc * Add info about user-specific data in ws * Document FileSink * Docs for happydom test * Updates