gatemaker

1.0.0 • Public • Published

Gatemaker

macOS quarantine utilities for Node.js and Electron.

Usage

const quarantine = require("gatemaker")
 
const filePath = "~/Downloads/example.xyz"
const agentName = "Example App"
 
await quarantine(filePath, agentName)
// or…
quarantine.sync(filePath, agentName)

Electron Support

Load gatemaker/electron-support in your main process to quarantine all downloads automatically.

require("gatemaker/electron-support")
const { app } = require("electron")
// …

References

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i gatemaker

Weekly Downloads

7

Version

1.0.0

License

MIT

Unpacked Size

5.27 kB

Total Files

7

Last publish

Collaborators

  • javan