How to use the save function from nconf

Find comprehensive JavaScript nconf.save code examples handpicked from public code repositorys.

66
67
68
69
70
71
72
73
74
75
logger('clear')
return Promise((resolve,reject)=>{
  logger('clearing')
  nconf.set(null, {})

  nconf.save((err)=>{
    if(err){ return reject(err) }

    return resolve()
  })
fork icon0
star icon0
watch icon2

+ 7 other calls in file