Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nw

Package Overview
Dependencies
Maintainers
0
Versions
673
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nw - npm Package Versions

1
68

0.86.0-1

Diff

Changelog

Source

[0.86.0-1]

Changed

  • Fix module import.
ayushmxn
published 0.86.0-1-sdk •

ayushmxn
published 0.86.0 •

Changelog

Source

[0.86.0]

Changed

  • Fix undefined version in parsing logic.
ayushmxn
published 0.86.0-sdk •

ayushmxn
published 0.85.0-4 •

Changelog

Source

[0.85.0-4]

Added

  • Allow user to run specific binaries by specifing version, flavor, platform, arch and cacheDir options via CLI.

Changed

  • Fix run mode and remove workaround for disappearing Node manifest.

Removed

  • mac_plist and mac_icon CLI options.
ayushmxn
published 0.85.0-4-sdk •

ayushmxn
published 0.85.0-3 •

Changelog

Source

[0.85.0-3]

Changed

  • Publish sdk version first.
ayushmxn
published 0.85.0-3-sdk •

ayushmxn
published 0.85.0-2 •

Changelog

Source

[0.85.0-2]

Added

  • Re-add support for file:// which had been accidently removed in the previous release.
  • Expose get function as public API
import { get } from 'nw';

await get({
  // options
});
ayushmxn
published 0.85.0-1 •

Changelog

Source

[0.85.0-1]

Added

  • Option to specify cache directory by setting nwjs_cache_dir in .npmrc or NWJS_CACHE_DIR as ENV variable. Defaults to ./node_modules/nw.

  • Option to customise caching behaviour by enabling/disabling nwjs_cache in .npmrc or NWJS_CACHE as ENV variable. Defaults to false.

  • Option to download community ffmpeg by enabling/disabling nwjs_ffmpeg in .npmrc or NWJS_FFMPEG as ENV variable. Defaults to false.

  • Option to download NW.js Node headers by enabling/disabling nwjs_native_addon in .npmrc or NWJS_NATIVE_ADDON as ENV variable. Defaults to false.

Changed

Switch from CJS to ESM.

ESM import:

import { findpath } from 'nw';

Previous CJS import:

    const { findpath } = require('nw');

Current CJS import:

    let nw;
    import('nw').then(object => {
        nw = object;
    });

Removed

  • CJS support.
  • compressing package.
  • cli-progress package.
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