write-file-atomic
npmv8.0.0Write files in an atomic fashion w/configurable ownership
Safe to adopt
Yes — write-file-atomic scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 124 days ago. 4 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 124 days ago. 4 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 87 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 4 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
ISC — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding write-file-atomic to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing write-file-atomic, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node ^22.22.2 || ^24.15.0 || >=26.0.0
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the write-file-atomic README.
var writeFileAtomic = require('write-file-atomic')
writeFileAtomic(filename, data, [options], [callback])Dependencies
Declared by write-file-atomic v8.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (3)
Used by
Popular packages that depend on write-file-atomic.
Relationship graph
Dependencies (left) and dependents (right) of write-file-atomic.
Frequently installed together
A drop-in replacement for fs, making various improvements.
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
This packages is a collection of utilities and helper functions
No description provided.
TypeScript definitions for @babel/core
This package contains shared types of Jest's packages.
Convert Windows backslash paths to slash paths
`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects
Converts a source-map from/to different formats and allows adding/changing properties.
A babel plugin that adds istanbul instrumentation to ES6 code
Properly hijack require, i.e., properly define require hooks and customizations
Trace the original position through a source map
Release history
3 releases in the last two years, typically about 122 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 8.0.0latest | 4 months ago | 12 KB | ISC |
| 7.0.1 | 6 months ago | 12 KB | ISC |
| 7.0.0 | 10 months ago | 12 KB | ISC |
| 6.0.0 | 1 year ago | 12 KB | ISC |
| 5.0.1 | 3 years ago | 12 KB | ISC |
| 5.0.0 | 3 years ago | 12 KB | ISC |
| 4.0.2 | 4 years ago | 12 KB | ISC |
| 4.0.1 | 4 years ago | 12 KB | ISC |
| 4.0.0 | 4 years ago | 12 KB | ISC |
| 3.0.3 | 6 years ago | 12 KB | ISC |
| 3.0.2 | 6 years ago | 12 KB | ISC |
| 3.0.1 | 7 years ago | 12 KB | ISC |
| 3.0.0 | 7 years ago | 11 KB | ISC |
| 2.4.3 | 7 years ago | 12 KB | ISC |
| 2.4.2 | 7 years ago | 12 KB | ISC |
Overview
write-file-atomic is an npm package that write files in an atomic fashion w/configurable ownership. It has 2 known dependents in the graph. The latest version is 8.0.0, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need write files in an atomic fashion w/configurable ownership and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (ISC).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use write-file-atomic?
Yes — write-file-atomic scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 124 days ago. 4 releases in the last 2 years.
How do I install write-file-atomic?
Run `npm install write-file-atomic` to add write-file-atomic to your npm project.
How many dependencies does write-file-atomic have?
write-file-atomic declares 4 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 87 KB on disk.
What license is write-file-atomic released under?
write-file-atomic is distributed under the ISC license.
How popular is write-file-atomic?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on write-file-atomic.
Is write-file-atomic still maintained?
The most recent release of write-file-atomic (v8.0.0) was published 4 months ago.
Does write-file-atomic run install scripts?
No. write-file-atomic does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.