# write-file-atomic — card for AI agents

Write files atomically to prevent corruption from interruptions.

Category: Utilities · npm package `write-file-atomic` · latest version 8.0.0 (checked 2026-11-03)
Install: `npm install write-file-atomic`
License: ISC (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 47.3 (#2292 of all tools, 254 of 408 in its category)
- Downloads last week: 143,770,595 (as of 2026-11-24), +39.4% over 4 weeks
- GitHub stars: 258 (as of 2026-11-24)
- Last push: 2026-07-02

## Often used with
chalk 60.0%, Commander 60.0%, Model Context Protocol SDK (JavaScript) 60.0%, js-yaml 60.0%, Pino 60.0%, pino-pretty 60.0%

## Links
- AgentGid page: https://agentgid.com/tools/write-file-atomic/
- Homepage: https://github.com/npm/write-file-atomic
- Repository: https://github.com/npm/write-file-atomic

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
