v/vlib
Larsimusrex a8d200ac0e
Some checks failed
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
Sanitized CI / sanitize-undefined-clang (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (push) Waiting to run
Sanitized CI / tests-sanitize-address-clang (push) Waiting to run
Sanitized CI / sanitize-address-msvc (push) Waiting to run
Sanitized CI / sanitize-address-gcc (push) Waiting to run
Sanitized CI / sanitize-memory-clang (push) Waiting to run
sdl CI / v-compiles-sdl-examples (push) Waiting to run
Time CI / time-linux (push) Waiting to run
Time CI / time-macos (push) Waiting to run
Time CI / time-windows (push) Waiting to run
toml CI / toml-module-pass-external-test-suites (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
vab CI / vab-compiles-v-examples (push) Waiting to run
vab CI / v-compiles-os-android (push) Waiting to run
json decoder benchmark CI / json-encode-benchmark (push) Has been cancelled
decoder2: improve enum decoding; fix handling of required fields at the end of a json string (#25289)
2025-09-12 10:57:15 +03:00
..
archive archive.tar: fix type in new_compressor fn name (#25006) 2025-07-30 19:49:00 +03:00
arrays arrays: fix v doc -unsafe-run-examples -f none vlib/arrays/ too 2025-08-13 17:28:59 +03:00
benchmark docs: cleanup doc comments of public APIs in benchmark, bitfield, and build 2025-07-02 16:54:17 +03:00
bitfield bitfield: fix v doc -unsafe-run-examples -f none vlib/bitfield/ too 2025-08-13 17:19:07 +03:00
build docs: cleanup doc comments of public APIs in benchmark, bitfield, and build 2025-07-02 16:54:17 +03:00
builtin cgen: prefix builtin APIs with builtin__ (#25264) 2025-09-10 15:12:22 +03:00
cli docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
clipboard docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
compress compress.deflate,compress.gzip,compress.zlib,compress.zstd: fix v doc -unsafe-run-examples -f none vlib/compress/ too 2025-08-13 17:43:33 +03:00
context ci: remove the // vtest flaky: true tags from the remaining tests (#24379) 2025-06-19 20:16:49 +03:00
coroutines markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
crypto crypto: fix ambiguous expressions in DES implementation (#24814) 2025-06-30 21:51:02 +03:00
datatypes ci: add a watchdog timer thread to ringbuffer_test.v, to make sure the program exits in a reasonable time (~10s). Let the test be retried 2 times in a row if it fails. 2025-07-22 12:48:29 +03:00
db db.sqlite: fix get_text trimming data after (including) first 0 character (#25040) 2025-08-05 08:54:48 +03:00
dl docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
dlmalloc tests: fix all warnings for v test-all on linux 2025-05-19 16:16:53 +03:00
encoding encoding.base64: fix doc comment examples 2025-08-13 17:59:09 +03:00
eventbus all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
flag flag: clean up flag_to_tail_bool_test.v (#25192) 2025-08-30 02:18:58 +03:00
fontstash fontstash: define and use FONTSTASH_MALLOC_ATOMIC for the allocated texture and atlas nodes (which do not contain pointers) 2025-09-07 14:05:40 +03:00
gg examples,gg: add examples/gg/grid_of_rectangles.v; add gg.Context.draw_rect_filled_no_context/5 and gg.Context.draw_rect_empty_no_context/5 2025-09-01 23:28:47 +03:00
gx gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966) 2025-08-14 19:53:56 +03:00
hash docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
io vlib: reduce false positive matches for /// , cleanup commented code 2025-03-08 17:47:13 +02:00
js doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
json cgen: fix gen_struct_equality_fn null pointer crash (fix #25237) (#25231) 2025-09-08 17:32:46 +03:00
log log: use @[noinline] for level_from_tag/1 and target_from_label/1 to avoid triggering panics for programs using log, compiled with -prod and -cc gcc>10 (fix #24874) 2025-07-10 14:43:42 +03:00
maps maps: use explicit map value cloning in maps.merge_in_place and maps.merge (fx #22564) (#22576) 2024-10-19 11:49:41 +03:00
math json2: replace encoder with new implementation (#25224) 2025-09-09 18:50:22 +03:00
net net.http.file: allow for serving requests to static files with cache busting suffixes like /dist/littlejs.js?1117 2025-09-06 15:59:08 +03:00
orm time: always return utc() timezone for Time.unix/0 (fix #17784) (#25233) 2025-09-05 00:22:52 +03:00
os os,ci: use a conditional include, instead of a platform file, to include libproc.h on macos only 2025-09-05 12:50:30 +03:00
picoev docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
picohttpparser checker: fix missing or-block check for callexpr (fix #22835) (#22840) 2024-11-13 12:30:06 +02:00
pool pool: fix idle_conns assertion in test_pool_close (#24932) 2025-07-20 11:14:57 +03:00
rand docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
readline readline: fix wide char display width for Chinese characters (fix #25219) (#25220) 2025-09-02 18:01:26 +03:00
regex tools: fix return"" in vdoc html output (fix #24979) 2025-07-31 10:33:35 +03:00
runtime os,runtime: move some C struct and fn def to builtin (#24942) 2025-07-22 07:55:53 +03:00
semver semver: fix doc comment examples 2025-08-13 18:16:57 +03:00
sokol sokol.audio: fix doc comment examples 2025-08-13 17:54:45 +03:00
stbi doc: describe the new 4th column of the profiler output, and its compatibility with tcc & multithreading; describe better the stib comp parameter (#24358) 2025-04-30 08:20:12 +03:00
strconv strconv: produce a maximum of 8 digits after the . for f32.str() (fix #25141) (#25144) 2025-08-20 22:41:25 +03:00
strings docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
sync os,sync: enable running v -cross -o x.c cmd/v on windows too (part 1, fix V errors) 2025-08-26 18:09:53 +03:00
term docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
time json2: replace encoder with new implementation (#25224) 2025-09-09 18:50:22 +03:00
toml json2: replace encoder with new implementation (#25224) 2025-09-09 18:50:22 +03:00
v checker: prevent usage of imported module name prefix as identifier names, to avoid cgen collisions (#25280) 2025-09-11 23:33:43 +03:00
v2 v2: add formatting workarounds, to make v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_ run 2025-07-03 09:46:01 +03:00
vanilla_http_server parser, ast, fmt: convert "hello".str => c"hello" (fix #24635) (#24652) 2025-06-08 11:44:38 +03:00
veb veb: fix generic field access from alias (fix #25215) (#25246) 2025-09-07 09:11:22 +03:00
vweb vdoc: enable example lines that have explicit imports too, fixup the remaining vlib examples, so v doc -v -unsafe-run-examples -f none vlib/ could be added to the CI 2025-08-13 21:02:14 +03:00
wasm docs: add the remaining missing doc comment, for the public wasm methods (#23863) 2025-03-05 14:23:35 +02:00
x decoder2: improve enum decoding; fix handling of required fields at the end of a json string (#25289) 2025-09-12 10:57:15 +03:00
.vdocignore vdoc: remove obsolete entries from .vdocignore (#21320) 2024-04-20 16:32:31 +03:00
README.md tools,v.doc: let https://modules.vlang.io use vlib/README.md as the index page. (#23480) 2025-01-16 03:15:16 +02:00

page title index
index V standard library documentation V stdlib

This site contains the documentation for the standard library of modules included with the V language. Also commonly referred to as vlib, as that is the root directory for these modules in the V repository.

If you were looking for documentation for the language itself, the builtin types, operators, et. al., please use the V documentation link.

Some included modules depend on third party libraries, and these are kept separate in the thirdparty directory at the root level of the source repository.

Note that the builtin module is implicitly imported by default in V, so you do not need to have a specific import statement to use any of the features of that module.