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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    11

Package Sidebar

Install

npm i gatemaker

Weekly Downloads

11

Version

1.0.0

License

MIT

Unpacked Size

5.27 kB

Total Files

7

Last publish

Collaborators

  • javan