[rnx] Rasmalai
Guide Manual Packages Playground
2.4k
Guide Manual Packages Playground
Packages / @std/fs / Filesystem one-shots, file handles, and path helpers.

package

@std/fs

try it ▶
  • Overview
  • Getting Started
  • API Reference

symbols

  • C File
  • C FileStat
  • C FsBytesReq
  • C FsCopyReq
  • C FsDirReq
  • C FsMoveReq
  • C FsStatReq
  • C FsTextReq
  • C FsWriteBytesReq
  • C FsWriteTextReq
  • C Mmap
  • C Path
  • E CopyMode
  • E OpenMode
  • E WriteMode
  • F chmod
  • F copy
  • F copyAsync
  • F exists
  • F fileLockId
  • F fsPoolSize
  • F fsWorkers
  • F fsWriteModeOf
  • F fsync
  • F glob
  • F globAsync
  • F isDir
  • F isFile
  • F mkdir
  • F mkdirAll
  • F mmap
  • F mmapAnon
  • F move
  • F moveAsync
  • F readBytes
  • F readBytesAsync
  • F readDir
  • F readDirAsync
  • F readLink
  • F readText
  • F readTextAsync
  • F remove
  • F removeAll
  • F rename
  • F renameAsync
  • F setWorkers
  • F stat
  • F statAsync
  • F symlink
  • F truncate
  • F writeBytes
  • F writeBytesAsync
  • F writeText
  • F writeTextAsync

@std/fs

Getting Started

No install step: the module ships inside the compiler. Import what you need:

.rnx
import { fs } from "@std/fs";

Quickstart

Copy this into a file or open it straight in the playground:

.rnx
import { fs } from "@std/fs";

on this page

  • Quickstart