Socket
Socket
Sign inDemoInstall

temp-file

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temp-file - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "temp-file",
"version": "1.0.0",
"version": "1.0.1",
"main": "out/main.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

@@ -1,8 +0,17 @@

## read-config-file
## temp-file
Read configuration file in various formats:
```typescript
export function getTempName(prefix?: string | null | undefined): string;
* yml
* json5
* json
* toml (if installed, `yarn add toml`).
export class TmpDir {
getTempDir(suffix?: string): Promise<string>;
createTempDir(suffix?: string): Promise<string>;
getTempFile(suffix: string, isDir?: boolean, disposer?: ((file: string) => Promise<void>) | null): Promise<string>;
cleanupSync(): void;
cleanup(): Promise<any>;
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc