How to use nexe - 4 common examples

To help you get started, we’ve selected a few nexe examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github oveddan / posenet-for-installations / server / distribute.js View on Github external
const {compile} = require('nexe')

compile({
  input: './dist/socket.js',
  target: 'windows-x64-8.4.0',
  // target: 'macos-8.4.0',
  output: 'posenetSocket'
}).then(() => {console.log('success')})
github oveddan / posenet-for-installations / client / distribute.js View on Github external
const {compile} = require('nexe')

compile({
  input: './serve.js',
  target: 'windows-x64-8.4.0',
  // target: 'macos-8.4.0',
  resources: ['./build/**/*'],
  output: 'posenet'
}).then(() => {console.log('success')})
github deepstreamIO / deepstream.io / scripts / nexe.js View on Github external
const version = require('../package')
const nexe = require('nexe') // eslint-disable-line

nexe.compile({
  input: 'dist/bin/deepstream.js',
  build: false,
  flags: ['--max-old-space-size=8192'],
  output: process.env.EXECUTABLE_NAME,
  target: { version: '10.16.0' },
  temp: 'nexe_node',
  resources: [
    './dist/ascii-logo.txt',
    './dist/package.json'
  ],
  ico: 'scripts/resources/deepstream.ico',
  rc: {
    CompanyName: "deepstreamHub GmbH",
    ProductName: "deepstream.io",
    FileDescription: "A Scalable Server for Realtime Applications",
    FileVersion: version,
github nexe / nexe / test / gulp-test-170 / gulpfile.js View on Github external
gulp.task( "compile", ( callback ) => {
    let options = {
        input: "index.js",
        output: "test.nex",
        python: "python",
        nodeTempDir: "./tmp",
        nodeVersion: "latest",
        flags: false,
        framework: "nodejs"
    };

    nexe.compile( options, ( err ) => {
        console.log( err );
        callback( err );
    } );
} );

nexe

Create a single executable out of your Node.js application

MIT
Latest version published 8 months ago

Package Health Score

67 / 100
Full package analysis

Popular nexe functions