Gathering detailed insights and metrics for @types/write-file-atomic
Gathering detailed insights and metrics for @types/write-file-atomic
Gathering detailed insights and metrics for @types/write-file-atomic
Gathering detailed insights and metrics for @types/write-file-atomic
The repository for high quality TypeScript type definitions.
npm install @types/write-file-atomic
Typescript
Module System
99
Supply Chain
79.5
Quality
75.7
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
24,185,380
Last Day
324
Last Week
324
Last Month
135,015
Last Year
2,008,885
49,133 Stars
88,671 Commits
30,298 Forks
640 Watching
5 Branches
9,978 Contributors
Latest Version
4.0.3
Package Id
@types/write-file-atomic@4.0.3
Unpacked Size
4.84 kB
Size
1.86 kB
File Count
5
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
0%
324
Compared to previous day
Last week
-98.9%
324
Compared to previous week
Last month
-11.7%
135,015
Compared to previous month
Last year
-15.1%
2,008,885
Compared to previous year
1
npm install --save @types/write-file-atomic
This package contains type definitions for write-file-atomic (https://github.com/npm/write-file-atomic).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/write-file-atomic.
1/// <reference types="node" /> 2 3export = writeFile; 4 5declare function writeFile( 6 filename: string, 7 data: string | Buffer, 8 options: writeFile.Options | BufferEncoding, 9 callback: (error?: Error) => void, 10): void; 11declare function writeFile(filename: string, data: string | Buffer, callback: (error?: Error) => void): void; 12declare function writeFile( 13 filename: string, 14 data: string | Buffer, 15 options?: writeFile.Options | BufferEncoding, 16): Promise<void>; 17 18declare namespace writeFile { 19 function sync(filename: string, data: string | Buffer, options?: Options | BufferEncoding): void; 20 21 interface Options { 22 chown?: 23 | { 24 uid: number; 25 gid: number; 26 } 27 | undefined; 28 /** 29 * @default 'utf8' 30 */ 31 encoding?: BufferEncoding | undefined; 32 fsync?: boolean | undefined; 33 mode?: number | undefined; 34 tmpfileCreated?: ((tmpfile: string) => void) | undefined; 35 } 36} 37
These definitions were written by BendingBender, and Piotr Błażejewicz.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 26/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More