How to use the json-future.loadAsync function in json-future

To help you get started, we’ve selected a few json-future 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 Kikobeats / git-authors-cli / bin / index.js View on Github external
const loadPkg = path => {
  try {
    return jsonFuture.loadAsync(path)
  } catch (err) {
    return null
  }
}

json-future

Unbelievable and Modern JSON interface.

MIT
Latest version published 6 months ago

Package Health Score

61 / 100
Full package analysis