Changelog
[0.85.0-4]
Changelog
[0.85.0-2]
file://
which had been accidently removed in the previous release.get
function as public APIimport { get } from 'nw';
await get({
// options
});
Changelog
[0.85.0-1]
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
.
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;
});
compressing
package.cli-progress
package.