Jarred Sumner
e2c526708a
Update import-meta.md
2023-08-04 17:40:11 -07:00
Jarred Sumner
f06f178862
Fix incorrect docs
2023-08-04 17:38:17 -07:00
Colin McDonnell
112030481f
More guides and fixing links ( #3960 )
...
* More guides
* WIP
* Updates
* Fix
2023-08-03 16:31:05 -07:00
Vaughan Rouesnel
4f39d5b54a
Update streams.md ( #3926 )
2023-08-02 12:59:21 -07:00
Jarred Sumner
aae92c76a6
Fix incorrect function
2023-07-31 01:33:39 -07:00
Jhorman Tito
bcb6dc7806
typo spawn.md ( #3875 )
2023-07-29 00:35:13 -07:00
Jarred Sumner
2eb79afb2a
Update sqlite.md
2023-07-20 18:14:34 -07:00
Colin McDonnell
53ad9b922f
Docs & types for 0.7 ( #3665 )
...
* Docs & types for 0.7
* Tweak
* Update
* Tweaks
* Tweak
* Tweaks
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-07-19 23:59:15 -07:00
Jarred Sumner
dd46c11273
Support streams in response.formData() & request.formData, introduce 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-19 23:12:06 -07:00
Jarred Sumner
ed8be46a7b
Inlinebun object from workers
2023-07-19 22:53:28 -07:00
Jarred Sumner
0179ebcb8c
Update workers.md
2023-07-18 05:00:09 -07:00
Jarred Sumner
105919d7ae
Clarify
2023-07-18 04:51:29 -07:00
Colin McDonnell
ca3b7fa3c9
Clean up worker docs
2023-07-17 13:10:22 -07:00
Jarred Sumner
75213aad37
Document serialize/deserialize
2023-07-16 23:16:54 -07:00
Jarred Sumner
3613429dc3
Update workers.md
2023-07-16 22:43:38 -07:00
Jarred Sumner
d5c51092c8
rename
2023-07-16 21:40:07 -07:00
Jarred Sumner
209dc981c0
Implement Workers ( #3645 )
...
* 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-16 21:15:24 -07:00
Colin McDonnell
2551210426
Update docs
2023-07-14 11:33:07 -07:00
Colin McDonnell
609f81a746
Add npmrc note
2023-07-11 15:32:52 -07:00
Colin McDonnell
109ebc14fd
Various docs updates ( #3437 )
...
* 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-07-06 13:02:29 -07:00
Colin McDonnell
adb451eec6
Docs for DOM testing and FileSink ( #3330 )
...
* Update websocket docs & jsdoc
* Add info about user-specific data in ws
* Document FileSink
* Docs for happydom test
* Updates
2023-06-20 18:57:37 -07:00
paperluigis
f51878a8ec
Fix wording and code example in docs for Bun.sleepSync ( #3270 )
2023-06-10 01:03:30 -07:00
James Liu
edd03341b1
docs: add missing right parenthesis in example code ( #3245 )
...
add missing right parenthesis in example code in `HTTP server` section
2023-06-09 05:20:37 -07:00
Colin McDonnell
d265ed80d2
Docs for Bun.password and ws publish ( #3227 )
...
* Update websocket docs & jsdoc
* Document Bun.password
* Update hash encoding docs
* Fix typos
* Add info about user-specific data in ws
* Update outdated websocket jsdoc
* Replace usages of req.url
* Remove log
2023-06-06 23:50:43 -07:00
Colin McDonnell
9b6913e1a6
More/better docs for JSX, utils, binary data, streams, hashing, bun test, Bun.serve ( #3005 )
...
* WIP
* Updates
* Document deepEquals
* WIP
* Update typeS
* Update TLS docs for Bun.serve
* Update types for tls
* Draft binary data page. Add Streams page.
* Update test runner docs
* Add hashing, flesh out utils
* Grammar
* Update types
* Fix
* Add import.meta docs
* Tee
2023-05-29 11:49:51 -07:00
Dialga
48997eaeba
Update sqlite.md ( #3063 )
...
fix serialize example
2023-05-25 10:14:29 -07:00
dave caruso
6a163cf933
bundler tests and improve Bun.build return type ( #2833 )
...
* importstar_ts
* tests
* run acorn test suite
* bench tweaks
* test
* bun.build tests very incomplete
* remove dataurl and base64 loaders from tests since they dont work yet
* tests
* stuff
* stuff
* add errors and array of blobs
* work so far
* docs
* requested changes
* fix overwrite docs
* remove this file
2023-05-11 14:42:54 -07:00
Kruithne
e00017f7b8
Add missing JSON API to Web APIs page ( #2799 )
...
* Add missing JSON API to Web APIs page
Unless I'm missing something obvious, it appears that Bun has the JSON API (`stringify`/`parse`) but is not listed anywhere in the documentation.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON
* Include JSON in global docs
2023-05-05 12:54:54 -07:00
dave caruso
96e113f41c
bundler tests: rest of default.test.ts and starting jsx tests ( #2765 )
2023-04-28 21:08:48 -07:00
dave caruso
76deb51c29
clarify file io docs ( #2689 )
2023-04-18 11:09:41 -07:00
Kruithne
730074b75d
[nit] minor typo in tcp.md ( #2657 )
2023-04-14 04:00:02 -07:00
Colin McDonnell
011e157cac
Docs restructuring ( #2638 )
...
* Restructure
* Update nav
* Reorg
* Reshuffle ecosystem pages
* Split up runtime/runtime
* Back to runtime/index
* Fix issue
* Split up runtime/index
* Add Writing Tests page
* Prettier matcher table
* More updates
2023-04-13 18:26:45 -07:00
Colin McDonnell
c8e09f563f
FileBlob -> BunFile, add BunFile.lastModified (#2581 )
...
* Improve BunPlugin types
* FileBlob -> BunFile
* Update Bun.env types. Fixes #2481
* Add lastModified to BunFile
2023-04-07 04:03:06 -07:00
dave caruso
f788519263
bun-types: infer strict Subprocess from Bun.spawn() options, part 2 ( #2573 )
2023-04-06 13:59:06 -07:00
Joker_
f3a91339fc
Update sqlite.md ( #2452 )
...
Fix benchmark source pointing to wrong URL.
2023-03-21 18:51:31 -07:00
Haris Sulaiman
d61e90d558
Update file-system-router.md ( #2365 )
2023-03-11 01:28:33 -08:00
Fran Zekan
cc7d2cf343
Fix link in globals.md ( #2362 )
2023-03-10 16:47:33 -08:00
Colin McDonnell
95b59ea0ef
Document openInEditor
2023-03-07 21:05:44 -08:00
Jarred Sumner
7273713158
Update out of date doc
2023-03-05 08:31:56 -08:00
aab
0eeac32ef4
docs(websocket): change server port on example to default port ( #2301 )
...
Current example will fail without explicitly configure the server to use port 8080. Hence, replacing it with default port (3000).
2023-03-04 06:01:04 -08:00
aab
3456831b82
docs: Fix variable name in transpiler API docs ( #2281 )
2023-03-02 21:49:12 -08:00
Colin McDonnell
530cf4caf8
Fix async in sqlite
2023-03-01 12:27:14 -08:00
maor-benami
590219966e
Update file-io.md ( #2230 )
...
should `notreal.type` reflect the overridden value?
2023-02-27 21:08:27 -08:00
maor-benami
0a340d1920
Update file-io.md ( #2229 )
...
duplicated word
2023-02-27 21:07:35 -08:00
Florian Dreier
45f4353453
fix: Broken link to Node.js support status page ( #2183 )
...
Co-authored-by: Derrick Farris <mr.dcfarris@gmail.com >
2023-02-25 10:57:26 -06:00
Charlie Marsh
735d48190d
Replace docs/runtime/nodejs with docs/ecosystem/nodejs ( #2185 )
...
* Replace docs/runtime/nodejs with docs/ecosystem/nodejs
* Replace a few more usages
2023-02-25 10:54:29 -06:00
Tommaso A
8e09b1afff
docs: improved language in yaml loader example ( #2172 )
...
* docs: improved language in yaml loader example
* docs(api/http): fix typo
* docs(api/spawn): fix typo
* docs(api/transpiler): fix typo
2023-02-25 09:47:11 -06:00
Flo
9b66e03a9b
Fix sqlite.md .serialize typo ( #2178 )
2023-02-25 02:45:27 -08:00
Colin McDonnell
1836250542
Docs tweaks ( #2160 )
...
* Tweaks
* Add ecosystem. Add bunx. Flesh out install.
* Tweaks
* Add TS to installation
* Tweaks
* New readme
* Write new readme
* Tweak
* Center header
* Bun
* tweaks
* No dollar sign
* Fix links
* Update
* Tweak
2023-02-24 16:33:53 -08:00
Colin McDonnell
f54300578b
Add documentation ( #2148 )
...
* Add documentation
* Tweaks
* Fixes
* Rearrange
* Update
2023-02-23 17:13:30 -08:00