Back to skills
SKILL.md
Bun
ASecurity```ts const foo = Bun.file("foo.txt");
- 6 stars
- 0 votes
- 0 copies
- 1 view
- Added May 28, 2026
Works with
Security analysis
100/100npx -y skills add loclv/llm-lean-log --skill bun --agent claude-codeAre you the author of Bun?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loclv-bun)# Bun - JS runtime
## File API
```ts
const foo = Bun.file("foo.txt");
if (await foo.exists()) {
console.log("foo.txt exists");
}
await foo.text(); // contents as a string
await foo.json(); // contents as a JSON object
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.