JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11531
  • Score
    100M100P100Q131283F
  • License MIT

Create snapshot file for Electron

Package Exports

  • mksnapshot

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mksnapshot) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

mksnapshot

Generates snapshot file for Electron.

Installing

npm install mksnapshot

Docs

var mksnapshot = require('mksnapshot');

mksnapshot(content, target, version, arch, builddir, callback)

Generates snapshot file for content and copies it to target, callback will be called with error when failed, and with null when succeeded.

You also need to specify Electron's version and arch, as well as the builddir where temporary files and downloaded binaries will be put.