@amio/import-json

1.0.0-alpha.0 • Public • Published

import-json npm-version

Dynamically import json file in an ES Module manner.

Usage

import importJSON from '@amio/json-import'

importJSON('path/to/a.json').then(
  obj => {/* ... */},
  err => {/* ... */}
)

License

ISC @ Amio

Readme

Keywords

none

Package Sidebar

Install

npm i @amio/import-json

Weekly Downloads

1

Version

1.0.0-alpha.0

License

ISC

Last publish

Collaborators

  • amio