Search the documentation
3 pages for fs.write.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
quickstart
Claude Developer Platform · in the page
agents-and-tools/agent-skills/quickstart
…const fileContent = await client.files.download(fileId); await fs.writeFile(outputPath, Buffer.from(await fileContent.arrayBuffer())); console.log(`Presentation saved to ${outputPath}`);…
github-actions
Claude Developer Platform · in the page
manage-claude/wif-providers/github-actions
…nst token = await core.getIDToken('https://api.anthropic.com'); fs.writeFileSync('/tmp/gha-jwt', token); ``` The decoded token carries claims that describe the workflow run. Your federation rul…
Customize your status line
Claude Code CLI · in the page
statusline
…g: 'utf8' }).trim().split('\n').filter(Boolean).length; fs.writeFileSync(CACHE_FILE, `${branch}|${staged}|${modified}`); } catch { fs.writeFileSync(CACHE_FILE, '|…