Bun JSONL
Parse newline-delimited JSON (JSONL) with Bun's built-in streaming parser
Install
npx skills add jarle/bun-skills --skill Bun JSONLgit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-jsonl ~/.claude/skills/Bun-JSONLPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# JSONL
> Parse newline-delimited JSON (JSONL) with Bun's built-in streaming parser
Bun has built-in support for parsing [JSONL](https://jsonlines.org/) (newline-delimited JSON), where each line is a separate JSON value. The parser is implemented in C++ using JavaScriptCore's optimized JSON parser and supports streaming use cases.
```ts theme={"theme":{"light":"github-light","dark":"dracula"}}
const results = Bun.JSONL.parse('{"name":"Alice"}\n{"name":"Bob"}\n');
// [{ name: "Alice" }, { name: "Bob" }]
```
***
## `Bun.JSONL.parse()`
Parse a complete JSONL input and return an array of all parsed values.
```ts theme={"theme":{"light":"github-light","dark":"dracula"}}
import { JSONL } from "bun";
const input = '{"id":1,"name":"Alice"}\n{"id":2,"name":"Bob"}\n{"id":3,"name":"Charlie"}\n';
const records = JSONL.parse(input);
console.log(records);
// [
// { id: 1, name: "Alice" },
// { id: 2, name: "Bob" },
// { id: 3, name: "Charlie" }
// ]
```
Input can be a string or a `Uint8Array`:
```ts theme={"theme":{"light":"github-light","dark":"dracula"}}
const buffer = new TextEncoder().encode('{"a":1}\n{"b":2}\n');
const results = Bun.JSONL.parse(buffer);
// [{ a: 1 }, { b: 2 }]
```
When passed a `Uint8Array`, a UTF-8 BOM at the start of the buffer is automatically skipped.
### Error handling
If the input contains invalid JSON, `Bun.JSONL.parse()` throws a `SyntaxError`:Details
- Skill name
Bun JSONL- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-jsonl/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun JSONL skill do?
Parse newline-delimited JSON (JSONL) with Bun's built-in streaming parser
How do I install the Bun JSONL skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun JSONL. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun JSONL popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun JSX
9jarle/bun-skills
Built-in JSX and TSX support in Bun with configurable transpilation options
Bun JSON5
9jarle/bun-skills
Use Bun's built-in support for JSON5 files through both runtime APIs and bundler integration
Bun Lifecycle Scripts
9jarle/bun-skills
How Bun handles package lifecycle scripts securely
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.